only _exit if not DEBUG

This commit is contained in:
Seth Alves 2016-05-07 11:05:38 -07:00
parent 4b1274cb0f
commit f8f86a0d45

View file

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