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: Ricky Sharp <email@hidden>
- Date: Wed, 17 May 2006 16:52:43 -0500
On May 17, 2006, at 4:44 PM, Ricky Sharp wrote:
However, if your object is doing crucial cleanup tasks, you could
refactor things a bit. Note that I'm now going to assume that the
object in question can become a singleton and that your main app
controller can hold a reference to that object. If so, you can
release that singleton object from within applicationWillTerminate:
Well, you don't need singletons. What was I thinking?! As long as
your app has references to the objects to dealloc, you're good.
___________________________________________________________
Ricky A. Sharp mailto:email@hidden
Instant Interactive(tm) http://www.instantinteractive.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