summaryrefslogtreecommitdiffhomepage
path: root/gui/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'gui/main.cpp')
-rw-r--r--gui/main.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/gui/main.cpp b/gui/main.cpp
index 1972e7a3..d9aba3ce 100644
--- a/gui/main.cpp
+++ b/gui/main.cpp
@@ -5,6 +5,8 @@
# include <QCoreApplication>
# include <QFile>
# include <QString>
+#else
+# include <unistd.h>
#endif
#include "migration/migration.hpp"
@@ -175,8 +177,10 @@ main(int argc, char** argv)
#if defined(_MSC_VER)
qDebug() << "exit: terminating";
TerminateProcess(GetCurrentProcess(), 0);
+#else
+ // we have some atexit issues when not leaking bundles
+ //_exit(0);
#endif
-
qDebug() << "exit: main()";
return 0;