summaryrefslogtreecommitdiff
path: root/src/lstate.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/lstate.js')
-rw-r--r--src/lstate.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lstate.js b/src/lstate.js
index 020971a..3dd50bf 100644
--- a/src/lstate.js
+++ b/src/lstate.js
@@ -124,7 +124,7 @@ const f_luaopen = function(L) {
const preinit_thread = function(L, g) {
L.id = g.id_counter++;
L.l_G = g;
- L.stack = [];
+ L.stack = null;
L.ci = null;
L.nci = 0;
L.errorJmp = null;