mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 01:24:03 +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();
|
||||
|
||||
qCDebug(interfaceapp, "Normal exit.");
|
||||
#ifndef DEBUG
|
||||
// HACK: exit immediately (don't handle shutdown callbacks) for Release build
|
||||
_exit(exitCode);
|
||||
#endif
|
||||
return exitCode;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue