don't early _exit on Linux

This commit is contained in:
Seth Alves 2016-04-24 08:14:56 -07:00
parent 88ab52d340
commit 2425baf6e6

View file

@ -203,7 +203,7 @@ int main(int argc, const char* argv[]) {
Application::shutdownPlugins(); Application::shutdownPlugins();
qCDebug(interfaceapp, "Normal exit."); qCDebug(interfaceapp, "Normal exit.");
#ifndef DEBUG #if defined(DEBUG) && !defined(Q_OS_LINUX)
// HACK: exit immediately (don't handle shutdown callbacks) for Release build // HACK: exit immediately (don't handle shutdown callbacks) for Release build
_exit(exitCode); _exit(exitCode);
#endif #endif