From 28f058d35ea6c3debb7d95c12ffea075c48b006b Mon Sep 17 00:00:00 2001 From: Stefan Csomor Date: Wed, 14 Aug 2013 09:43:31 +0000 Subject: [PATCH] using terminate: terminates prematurely, OnExit is not called anymore git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74657 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/osx/cocoa/evtloop.mm | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/osx/cocoa/evtloop.mm b/src/osx/cocoa/evtloop.mm index 922d0468f9..2a27139d35 100644 --- a/src/osx/cocoa/evtloop.mm +++ b/src/osx/cocoa/evtloop.mm @@ -340,8 +340,7 @@ void wxGUIEventLoop::OSXDoStop() // We should only stop the top level event loop. if ( gs_loopNestingLevel <= 1 ) { - // using terminate support all native notifications - [NSApp terminate:0]; + [NSApp stop:0]; } // For the top level loop only calling stop: is not enough when called from -- 2.45.2