Closed jugglerchris closed 10 months ago
We were not resetting the allocator back to the default when closing the state, which was preventing LuaJIT from fully cleaning up.
Also check that the lua state is not null before we try to do anything with it.
We were not resetting the allocator back to the default when closing the state, which was preventing LuaJIT from fully cleaning up.
Also check that the lua state is not null before we try to do anything with it.