🎉 Celebrating 25 Years of GameDev.net! 🎉

Not many can claim 25 years on the Internet! Join us in celebrating this milestone. Learn more about our history, and thank you for being a part of our community!

Application quit unexpectedly

Started by
0 comments, last by rip-off 13 years, 4 months ago
I'm currently porting a game to MacOSX, and most of it is working, but when I'm press ESC to quit the game, it quits, and the a dialog pops up, saying "<nameofgame> quit unexpectedly, open again or ignore?"

Now, I want to know if anyone knows what is the cause of this behavior.
When the ESC key is pressed, I release all resources in memory, destroy the application window, and call exit(0), what could be the problem?
Advertisement
Are you sure that 0 is being returned to the OS? Run your program from the command line and examine the value of $? after it finished, e.g. use the echo command.

This topic is closed to new replies.

Advertisement