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
This commit is contained in:
parent
b0fa6efc8b
commit
28f058d35e
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user