summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/LuaHandle.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/LuaHandle.cc b/lib/LuaHandle.cc
index e23d059..c78b577 100644
--- a/lib/LuaHandle.cc
+++ b/lib/LuaHandle.cc
@@ -1249,6 +1249,7 @@ HandleLua::~HandleLua() {
L->call(0, 0);
} else {
L->pop();
+ L->pop();
}
L->push("HANDLELUAREFS");
L->gettable(LUA_REGISTRYINDEX);