Fix bug: call frames were never removed from the calls stack.
This commit is contained in:
@@ -22,7 +22,6 @@
|
|||||||
package org.luaj.vm;
|
package org.luaj.vm;
|
||||||
|
|
||||||
import java.io.ByteArrayOutputStream;
|
import java.io.ByteArrayOutputStream;
|
||||||
import java.io.IOException;
|
|
||||||
import java.io.InputStream;
|
import java.io.InputStream;
|
||||||
import java.util.Stack;
|
import java.util.Stack;
|
||||||
|
|
||||||
@@ -775,7 +774,7 @@ public class LuaState extends Lua {
|
|||||||
luaV_adjusttop(ci.resultbase + ci.nresults);
|
luaV_adjusttop(ci.resultbase + ci.nresults);
|
||||||
|
|
||||||
// pop the call stack
|
// pop the call stack
|
||||||
--cc;
|
calls[cc--] = null;
|
||||||
|
|
||||||
// force a reload of the calling context
|
// force a reload of the calling context
|
||||||
return;
|
return;
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
version: 0.90
|
version: 0.91
|
||||||
|
|||||||
Reference in New Issue
Block a user