You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@tira-misu, it's an interesting suggestion and should be easy to implement. I'm curious, what difference does it make? I thought the process would terminate anyway? Or is there some sort of multi-threaded environment where it's important to close Lua states? I asked the same question on the lua maillist and would love to hear what your use case is. Thanks!
Im working at an embedded device. There is no process management with MMU. Allocated memory will not be deleted after process end. Another reason is that no finalizers will be called (think of open connections and so on). It seams thas os.exit(1,1) is new in Lua 5.2.
There is no garbage collection running at Exit command. Solution is to use os.exit(1,1); on "exit" in debug_hook()
The text was updated successfully, but these errors were encountered: