Close Lua state before exiting redbean worker to allow GC to collect

This commit is contained in:
Paul Kulchenko 2023-11-10 09:13:47 -08:00
parent 15af5c2d7e
commit e8a28cae4e

View file

@ -6556,6 +6556,7 @@ static int ExitWorker(void) {
monitorth = 0;
}
}
LuaDestroy();
_Exit(0);
}