wrap explicit exit() in #ifndef DEBUG

This commit is contained in:
Andrew Meadows 2015-02-12 17:02:21 -08:00
parent 07a12f8b4c
commit c3b432c4b5

View file

@ -568,9 +568,11 @@ Application::~Application() {
qInstallMessageHandler(NULL);
#ifndef DEBUG
// At this point we return all memory to the operating system ASAP
// and don't worry about proper cleanup of global variables.
exit(0);
#endif
}
void Application::initializeGL() {