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
Re-starting the application via execv destroys any connection that external programs have with the process (debuggers, steam overlay etc.).
AFAICT the current initialization process goes like this:
main
Lua (launcher)
Launcher calls execv with different args
main
Lua (game)
To get it to one continous process we would need a way to tear down the launcher code and start up game code. Should this be a hardcoded function? eg. ib_connect_server(ip, port)
The text was updated successfully, but these errors were encountered:
Ensuring all setup/teardown is done in one place, that shouldn't be an issue, since reinitialisation should follow the same code path as the original initialisation did, so anything we don't clean wouldn't have been setup in the first place (although any static variables could catch you out I guess). The main problem I see with this is that you'd be deep in the call stack when you want to reset, and you need to get back out of there.
Re-starting the application via
execv
destroys any connection that external programs have with the process (debuggers, steam overlay etc.).AFAICT the current initialization process goes like this:
execv
with different argsTo get it to one continous process we would need a way to tear down the launcher code and start up game code. Should this be a hardcoded function? eg.
ib_connect_server(ip, port)
The text was updated successfully, but these errors were encountered: