Re: NSWindow and autorelease with dynamic binary
Re: NSWindow and autorelease with dynamic binary
- Subject: Re: NSWindow and autorelease with dynamic binary
- From: "Kyle Sluder" <email@hidden>
- Date: Tue, 15 Jan 2008 16:40:48 -0500
On Jan 15, 2008 3:17 PM, Wesley Smith <email@hidden> wrote:
> What really puzzles me is the difference between manually
> closing the window and procedurally closing the window. The former
> works, the latter crashes. If all the manual method does is trigger
> [win close], then I am doing the exact same thing procedurally and
> there should be no difference, but this is not the case. I can't find
> any docs on what might be different between the two. Any pointers?
What happens if you use -[NSWindow performClose:] instead? That's the
action associated with the standard close button.
Maybe the window's delegate is disappearing from under its feet while
it's trying to ask whether the window should be closed?
--Kyle Sluder
_______________________________________________
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