Fixed issue: #81

This commit is contained in:
UnlegitDqrk
2026-03-02 14:07:54 +01:00
parent ff4033cad4
commit c8fdc62495
3 changed files with 30 additions and 0 deletions

View File

@@ -259,6 +259,9 @@ public class LuaClosure extends LuaFunction {
// process instructions
try {
for (; true; ++pc) {
if (Thread.currentThread().isInterrupted()) {
throw new LuaError("interrupted");
}
if (globals != null && globals.debuglib != null)
globals.debuglib.onInstruction( pc, v, top );