This is giving me some crashes. There needs to be a way to disable this when making custom windows. I have tried to do atexit(NULL); but the callback in ofRunApp(ofBaseApp * OFSA) is still being called.
maybe something like:
void ofRunApp(ofBaseApp * OFSA, bool useExitCallback);
I just noticed on Win7 that if you close the command line window (hit the red X) it doesn't appear to finish calling the default ofExitCallback(). The program gets terminated mid-callback. If you close your GLUT window (or hit the esc key) it completed the callback fine.
On release builds it crashes for me when clicking close on the command line window.
@arturoc is this one still relevant?
going to call this irrelevant with all the new windowing changes.