Re: NSApplication Terminate:self <-- doesn't trigger dealloc method.
Re: NSApplication Terminate:self <-- doesn't trigger dealloc method.
- Subject: Re: NSApplication Terminate:self <-- doesn't trigger dealloc method.
- From: Nick Zitzmann <email@hidden>
- Date: Wed, 17 May 2006 15:34:41 -0600
On May 17, 2006, at 3:30 PM, Frederick C. Lee wrote:
I have a [NSApp terminate:self]; method that I call within an
Exception handler. I noticed that the resident dealloc method
isn't fired.
Just to be safe, I would like the dealloc method to fire.
How do I trigger the resident dealloc method when I
programmatically terminate the program?
Release the object in the -applicationWillTerminate: delegate method
of NSApplication.
Nick Zitzmann
<http://www.chronosnet.com/>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden