From 31ee772e33e7f46dd4734e3014699f56e8d2c517 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Wed, 10 Aug 2016 12:13:48 +0200 Subject: gui: there's no crash on exit in MSVC build anymore Reported-by: @DaMichel cf. https://github.com/DaMichel/opentrack/commit/777942eb65884ba9248c01399a4a5d1e72a35d80#commitcomment-18587629 --- gui/main.cpp | 4 ---- 1 file changed, 4 deletions(-) (limited to 'gui') 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; } -- cgit v1.2.3