On Thu, Sep 25, 2008 at 4:25 PM, Kyle Sluder
<[EMAIL PROTECTED]> wrote:
> On Thu, Sep 25, 2008 at 4:17 PM, Daniel Child <[EMAIL PROTECTED]> wrote:
>> If I press the button in question once, the window dutifully comes up. If I
>> close the window and press the button a second time, I get EXC_BAD_ACCESS.
>> Debugging, I found that both self and mLTableListingsWindow still exist.
>
> Sounds like your window is set to release when closed.  Uncheck this
> box in Interface Builder.

Wandering slightly, but this makes me wonder, why does this flag
exist? I can't think of a single reasonable use case for it, and it
seems to cause no end to trouble to people who have somehow enabled it
without knowing it. It violates the memory management rules and makes
programs crash. Is there a good use case for it, or is it just some
sort of leftover?

Mike
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to