main: disable most of the atexit() handlers, they can't work reliably
Event loop and garbage collecition make it extremely difficult to maintain an easily cleanable state: if Lua is freed first, some event cleanups may invoke Lua and crash. If events are freed first, some Lua gc may invoke userdata destruction which is pointing at event loop objects.
Loading
Please register or sign in to comment