this is the stack trace for the OSXOnWillTerminate situation, it is in frame 0, while OSXDoRun is in frame 21, I’m hesitant whether skipping all these native Cocoa/OS frames is a good idea ...
#0 in wxApp::OSXOnWillTerminate at ..
#1 in -[wxNSAppController applicationWillTerminate:] at ..
#2 in __CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__ ()
#3 in ___CFXRegistrationPost_block_invoke ()
#4 in _CFXRegistrationPost ()
#5 in _CFXNotificationPost ()
#6 in -[NSNotificationCenter postNotificationName:object:userInfo:] ()
#7 in -[NSApplication terminate:] ()
#8 in -[NSApplication _terminateFromSender:askIfShouldTerminate:saveWindows:] ()
#9 in __52-[NSApplication(NSAppleEventHandling) _handleAEQuit]_block_invoke ()
#10 in ___NSMainRunLoopPerformBlockInModes_block_invoke ()
#11 in __CFRUNLOOP_IS_CALLING_OUT_TO_A_BLOCK__ ()
#12 in __CFRunLoopDoBlocks ()
#13 in __CFRunLoopRun ()
#14 in CFRunLoopRunSpecific ()
#15 in RunCurrentEventLoopInMode ()
#16 in ReceiveNextEventCommon ()
#17 in _BlockUntilNextEventMatchingListInModeWithFilter ()
#18 in _DPSNextEvent ()
#19 in -[NSApplication(NSEventRouting) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] ()
#20 in -[NSApplication run] ()
#21 in wxGUIEventLoop::OSXDoRun at ...
Am 04.02.26, 14:58 schrieb "
wx-...@googlegroups.com" <
wx-...@googlegroups.com>: