diff options
author | Benoit Giannangeli <benoit.giannangeli@boursorama.fr> | 2017-02-23 15:02:16 +0100 |
---|---|---|
committer | Benoit Giannangeli <benoit.giannangeli@boursorama.fr> | 2017-02-23 15:06:01 +0100 |
commit | 6482d1ddc52f26d0a8e2e2a398276db73fbaa2bf (patch) | |
tree | b1bddc73de8865e020add398cee358a250986385 /src/lvm.js | |
parent | 2ffe44e84bfb72f44e4a2a598591cf0ec1c1c704 (diff) | |
download | fengari-6482d1ddc52f26d0a8e2e2a398276db73fbaa2bf.tar.gz fengari-6482d1ddc52f26d0a8e2e2a398276db73fbaa2bf.tar.bz2 fengari-6482d1ddc52f26d0a8e2e2a398276db73fbaa2bf.zip |
coroutine.running, upvalue need to be attached to their thread
Diffstat (limited to 'src/lvm.js')
-rw-r--r-- | src/lvm.js | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -659,7 +659,7 @@ const luaV_execute = function(L) { let p = cl.p.p[i.Bx]; let nup = p.upvalues.length; let uv = p.upvalues; - let ncl = new LClosure(nup); + let ncl = new LClosure(L, nup); ncl.p = p; L.stack[ra] = ncl; |