Fix bug: call frames were never removed from the calls stack.

This commit is contained in:
Ian Farmer
2009-03-05 18:10:58 +00:00
parent 61b1508485
commit 451ff835c7
2 changed files with 2 additions and 3 deletions

View File

@@ -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;

View File

@@ -1 +1 @@
version: 0.90 version: 0.91