interface calls _exit() on Release shutdown

This commit is contained in:
Andrew Meadows 2016-03-17 09:48:50 -07:00
parent ea99dbe59a
commit 4bb705360d

View file

@ -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;
}