Fixed issue: #81
This commit is contained in:
Binary file not shown.
@@ -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 );
|
||||
|
||||
|
||||
Reference in New Issue
Block a user