Re: cmd-q versus menu item quit
Re: cmd-q versus menu item quit
- Subject: Re: cmd-q versus menu item quit
- From: David Reed <email@hidden>
- Date: Tue, 11 May 2004 13:32:07 -0400
Milton,
Cmd-Q invokes the Quit menu item. "They" send the same action
(terminate: to first responder). I'm thinking your problem is something
else... possibly the responder chain is different.
By the way, when your application terminates all memory is reclaimed
anyway, so whether dealloc is actually called or not is irrelevant.
David.
On Tuesday, May 11, 2004, at 11:49 US/Eastern, Milton Sagen wrote:
When I quit via the key equivalent cmd-q all the objects associated
with my window get dealloc'd such as an NSOutlineView, however, when I
quit by selecting the quit menu item, even though my code "seems" to
follow the same path, the objects don't get dealloc'd. Its as if they
are never placed into an autorelease pool or the pool is itself never
released. Has anybody else seen this and know how to get the quit menu
item selection to behave the same as cmd-q?
_______________________________________________
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.
_______________________________________________
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.