Skip to content

Commit

Permalink
fix: remove thread.stop()
Browse files Browse the repository at this point in the history
  • Loading branch information
xdecock committed Oct 30, 2024
1 parent 91593ff commit e7a4eac
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions core/src/main/java/lucee/commons/io/SystemUtil.java
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit e7a4eac

Please sign in to comment.