Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[feat]Brutal exits are subject to seg-fault. #82

Closed
chenzunh23 opened this issue Jan 17, 2024 · 0 comments · May be fixed by #77
Closed

[feat]Brutal exits are subject to seg-fault. #82

chenzunh23 opened this issue Jan 17, 2024 · 0 comments · May be fixed by #77

Comments

@chenzunh23
Copy link

chenzunh23 commented 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.

@chenzunh23 chenzunh23 changed the title Brutal exits are subject to seg-fault. [feat]Brutal exits are subject to seg-fault. Jan 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant