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