diff options
author | Benoit Giannangeli <giann008@gmail.com> | 2017-04-24 08:50:48 +0200 |
---|---|---|
committer | Benoit Giannangeli <giann008@gmail.com> | 2017-04-24 11:18:25 +0200 |
commit | d15e00af0798783bdce5e27d2ab43de3ecb3fa4e (patch) | |
tree | d8ba199f3b198413fa75d492a2820b8fb304f2de /src/lstate.js | |
parent | 1094adc81e7f46720e9ef269f43fc265475cddf7 (diff) | |
download | fengari-d15e00af0798783bdce5e27d2ab43de3ecb3fa4e.tar.gz fengari-d15e00af0798783bdce5e27d2ab43de3ecb3fa4e.tar.bz2 fengari-d15e00af0798783bdce5e27d2ab43de3ecb3fa4e.zip |
L.openupval was not set in luaF_close
Diffstat (limited to 'src/lstate.js')
-rw-r--r-- | src/lstate.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lstate.js b/src/lstate.js index d95889b..5842562 100644 --- a/src/lstate.js +++ b/src/lstate.js @@ -50,7 +50,7 @@ class lua_State extends lobject.TValue { this.ci = null; this.ciOff = null; this.stack = []; - this.openupval = []; + this.openupval = null; this.status = TS.LUA_OK; this.next = null; this.twups = [this]; @@ -138,7 +138,7 @@ const preinit_thread = function(L, g) { L.basehookcount = 0; L.allowhook = 1; L.hookcount = L.basehookcount; - L.openupval = []; + L.openupval = null; L.nny = 1; L.status = TS.LUA_OK; L.errfunc = 0; |