Re: showing window causes EXC_BAD_ACCESS
Re: showing window causes EXC_BAD_ACCESS
- Subject: Re: showing window causes EXC_BAD_ACCESS
- From: "Michael Ash" <email@hidden>
- Date: Sun, 28 Sep 2008 11:47:49 -0400
On Sun, Sep 28, 2008 at 11:01 AM, Scott Ribe <email@hidden> wrote:
>> Except that in every case I've seen of people getting bit by this, the
>> window was still being implicitly retained by the nib's File's Owner.
>> You should definitely *not* expect a top-level nib object to go away
>> until File's Owner releases it.
>
> Sure. The design intent here is that File's Owner is being dealloc'd, so the
> window (along with all other top-level nib objects) should go away.
Are you saying this is the design intent of "release when closed"?
Because that makes no sense to me; the window that gets released when
closed is not File's Owner, it's just a random top-level nib object
whose lifetime should be managed by File's Owner and not by itself.
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