diff --git a/tool/net/redbean.c b/tool/net/redbean.c index d6e330a10a8..c08e0de07b6 100644 --- a/tool/net/redbean.c +++ b/tool/net/redbean.c @@ -6556,6 +6556,7 @@ static int ExitWorker(void) { monitorth = 0; } } + LuaDestroy(); _Exit(0); }