summaryrefslogtreecommitdiffhomepage
path: root/gui
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2016-08-10 12:13:48 +0200
committerStanislaw Halik <sthalik@misaki.pl>2016-08-10 12:13:48 +0200
commit31ee772e33e7f46dd4734e3014699f56e8d2c517 (patch)
treedc7c9b2dae5b67914772498b0a4fb987261c7ac2 /gui
parent6e7af85c52e994fada7f989f4af2a6e793dedac9 (diff)
gui: there's no crash on exit in MSVC build anymore
Reported-by: @DaMichel cf. https://github.com/DaMichel/opentrack/commit/777942eb65884ba9248c01399a4a5d1e72a35d80#commitcomment-18587629
Diffstat (limited to 'gui')
-rw-r--r--gui/main.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/gui/main.cpp b/gui/main.cpp
index f8d27da7..7adb7a7d 100644
--- a/gui/main.cpp
+++ b/gui/main.cpp
@@ -141,9 +141,5 @@ int main(int argc, char** argv)
}
app.exec();
- // on MSVC crashes in atexit
-#ifdef _MSC_VER
- TerminateProcess(GetCurrentProcess(), 0);
-#endif
return 0;
}