News for hackers. Stuff that matters.
Re:Dirty Coding Tricks by zomgbbq on Thursday January 08, 2015 @06:35PM (#8859770)
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.
Re:Dirty Coding Tricks by dbrower on Friday January 09, 2015 @02:26AM (#8861147)
+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.