From d886280f1093657f56a0af4ddc4d4e1309ab9823 Mon Sep 17 00:00:00 2001 From: TudbuT Date: Sun, 13 Mar 2022 13:29:21 +0100 Subject: [PATCH] fixed exiting in another thread --- bootstrap/ISBPL.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bootstrap/ISBPL.java b/bootstrap/ISBPL.java index 48729ca..df11ac6 100644 --- a/bootstrap/ISBPL.java +++ b/bootstrap/ISBPL.java @@ -140,7 +140,7 @@ public class ISBPL { try { block.call(file, s); } catch (ISBPLStop stop) { - if(stop.amount == -1) { + if(stop.amount < 0) { System.exit(exitCode); } }