mirror of
https://github.com/overte-org/overte.git
synced 2025-04-26 02:56:31 +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);
|
qInstallMessageHandler(NULL);
|
||||||
|
|
||||||
|
#ifndef DEBUG
|
||||||
// At this point we return all memory to the operating system ASAP
|
// At this point we return all memory to the operating system ASAP
|
||||||
// and don't worry about proper cleanup of global variables.
|
// and don't worry about proper cleanup of global variables.
|
||||||
exit(0);
|
exit(0);
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
void Application::initializeGL() {
|
void Application::initializeGL() {
|
||||||
|
|
Loading…
Reference in a new issue