Application Not Terminating
Application Not Terminating
- Subject: Application Not Terminating
- From: Tom Gray <email@hidden>
- Date: Thu, 25 Sep 2003 14:36:34 -0400
My application is not terminating when I have multiple unsaved
documents and I chose discard changes from quit or save dialog. Here is
the debugger call stack:
#0 0x90073c08 in mach_msg_trap
#1 0x90005ed0 in mach_msg
#2 0x901489f0 in CFRunLoopRunInMode
#3 0x90180f58 in CFRunLoopRunSpecific
#4 0x969a3b70 in GetEventClass
#5 0x969b3b00 in GetKeyboardFocus
#6 0x969dabbc in BlockUntilNextEventMatchingListInMode
#7 0x9308dedc in _DPSNextEvent
#8 0x930a0158 in -[NSApplication
nextEventMatchingMask:untilDate:inMode:dequeue:]
#9 0x931701bc in -[NSApplication _shouldTerminate]
#10 0x9315596c in -[NSApplication terminate:]
It looks like NSApplication's _shouldTerminate is hung.
Somehow this is related to an error I have in subclassing an NSDocument.
Any ideas?
Tom Gray
email@hidden
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.