Y
Hacker News
new
|
ask
|
show
|
jobs
by
zomgbbq
4174 days ago
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.
1 comments
dbrower
4174 days 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.
link