Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
zomgbbq
· 11y ago · 0 comments
We once had a game demo that was crashing every time we tried to exit the game. Inserted an exit(0); in the shutdown code and it never crashed again.
Comments
[–]
dbrower
11y ago
+1. That should always work as an exmaple of "crash only" programming. It's nice to get shutdown working for valgrind, but it should never be necessary.