aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/ltable.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ltable.js b/src/ltable.js
index 5eae939..32193c8 100644
--- a/src/ltable.js
+++ b/src/ltable.js
@@ -43,6 +43,7 @@ const clean_dead_keys = function(t) {
for (let i=0; i<t.dead_hashes.length; i++) {
t.strong.delete(t.dead_hashes[i]);
}
+ t.dead_hashes.length = 0;
};
const luaH_new = function(L) {