Re: when should my NSWindowController be released?
Re: when should my NSWindowController be released?
- Subject: Re: when should my NSWindowController be released?
- From: "Michael Ash" <email@hidden>
- Date: Sat, 13 Sep 2008 20:09:00 -0400
On Sat, Sep 13, 2008 at 5:59 PM, Markus Spoettl
<email@hidden> wrote:
> On Sep 13, 2008, at 2:42 PM, j o a r wrote:
>>
>> Like what?
>
> For instance if you have an app delegate object in MainMenu.nib it gets
> deallocated only when the application terminates.
Pretty much by definition, if an object is intended to only be
deallocated when your application terminates, that object *cannot
leak*.
Even if you decide on a definition where it can "leak", such a leak is
of absolutely no consequence and as such is not worth looking for.
Mike
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden