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
If we use exit(0) to exit, sometimes seg-faults will occur, but not always. I don't know how to fix it. Perhaps changing all void UpdateTick() to bool UpdateTick()(return whether the game is stopped by ESC) will do, but now the program simply would not exit.
The text was updated successfully, but these errors were encountered:
chenzunh23
changed the title
Brutal exits are subject to seg-fault.
[feat]Brutal exits are subject to seg-fault.
Jan 17, 2024
If we use exit(0) to exit, sometimes seg-faults will occur, but not always. I don't know how to fix it. Perhaps changing all void UpdateTick() to bool UpdateTick()(return whether the game is stopped by ESC) will do, but now the program simply would not exit.
The text was updated successfully, but these errors were encountered: