Re: -[NSApp orderOut:] leaves custom sheet in -orderedWindows
Re: -[NSApp orderOut:] leaves custom sheet in -orderedWindows
- Subject: Re: -[NSApp orderOut:] leaves custom sheet in -orderedWindows
- From: Jerry Krinock <email@hidden>
- Date: Mon, 14 May 2012 22:06:01 -0700
On 2012 May 09, at 14:20, Sean McBride wrote:
> Are you using GC?
No. I never liked GC and decided not to use it – one of the few smart decisions I've made :))
> Sounds a bit like something I saw the other day. I close a window and "shortly" after invoke [NSApp windows] and lo and behold the window I closed is still there, for some definitions of "shortly". If enough time passes, the garbage collector does some collecting and the window was collected, I guess.
It turned out that inadvertently not releasing the window's window controller was causing the problem.
_______________________________________________
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