fix: never-ending try-catch issues

This commit is contained in:
2023-12-24 14:27:00 +02:00
parent 078d7ed95f
commit 1b2068a274

View File

@@ -254,6 +254,7 @@ public class CodeFrame {
break;
}
else {
popTryFlag = false;
if (tryCtx.state == TryState.CATCH) scope.catchVars.remove(scope.catchVars.size() - 1);
if (tryCtx.state != TryState.FINALLY && tryCtx.hasFinally()) {