mirror of
https://github.com/overte-org/overte.git
synced 2025-04-25 00:56:48 +02:00
wrap explicit exit() in #ifndef DEBUG
This commit is contained in:
parent
07a12f8b4c
commit
c3b432c4b5
1 changed files with 2 additions and 0 deletions
|
@ -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() {
|
||||
|
|
Loading…
Reference in a new issue