mirror of
https://github.com/overte-org/overte.git
synced 2025-08-06 19:59:28 +02:00
interface calls _exit() on Release shutdown
This commit is contained in:
parent
ea99dbe59a
commit
4bb705360d
1 changed files with 4 additions and 0 deletions
|
@ -163,5 +163,9 @@ int main(int argc, const char* argv[]) {
|
||||||
Application::shutdownPlugins();
|
Application::shutdownPlugins();
|
||||||
|
|
||||||
qCDebug(interfaceapp, "Normal exit.");
|
qCDebug(interfaceapp, "Normal exit.");
|
||||||
|
#ifndef DEBUG
|
||||||
|
// HACK: exit immediately (don't handle shutdown callbacks) for Release build
|
||||||
|
_exit(exitCode);
|
||||||
|
#endif
|
||||||
return exitCode;
|
return exitCode;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue