From e7a4eac51c53f611960771123d0c86babff96910 Mon Sep 17 00:00:00 2001 From: Xavier De Cock Date: Wed, 30 Oct 2024 13:33:05 +0100 Subject: [PATCH] fix: remove thread.stop() --- core/src/main/java/lucee/commons/io/SystemUtil.java | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/core/src/main/java/lucee/commons/io/SystemUtil.java b/core/src/main/java/lucee/commons/io/SystemUtil.java index 090ea67b4e..6b30499dd1 100644 --- a/core/src/main/java/lucee/commons/io/SystemUtil.java +++ b/core/src/main/java/lucee/commons/io/SystemUtil.java @@ -1406,12 +1406,11 @@ public static void stop(PageContext pc, Thread thread) { } private static boolean _stop(Thread thread, Log log, boolean force) { - // we try to interrupt/stop the suspended thrad + // we try to interrupt/stop the suspended thread suspendEL(thread); try { if (isInLucee(thread)) { - if (!force) thread.interrupt(); - else thread.stop(); + thread.interrupt(); } else { if (log != null) {