summaryrefslogtreecommitdiffhomepage
path: root/gui
diff options
context:
space:
mode:
Diffstat (limited to 'gui')
-rw-r--r--gui/main.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/gui/main.cpp b/gui/main.cpp
index 3739232f..5d43cc14 100644
--- a/gui/main.cpp
+++ b/gui/main.cpp
@@ -202,7 +202,8 @@ main(int argc, char** argv)
while (false);
// msvc crashes in Qt plugin system's dtor
-#if defined(_MSC_VER)
+ // Note: QLibrary::PreventUnloadHint seems to workaround it
+#if defined(_MSC_VER) && 0
qDebug() << "exit: terminating";
TerminateProcess(GetCurrentProcess(), 0);
#endif