Re: Windows get released on 10.6, leak on 10.7
Re: Windows get released on 10.6, leak on 10.7
- Subject: Re: Windows get released on 10.6, leak on 10.7
- From: Nick Zitzmann <email@hidden>
- Date: Thu, 21 Jul 2011 10:41:34 -0600
On Jul 21, 2011, at 10:29 AM, Ross Carter wrote:
> I'm looking for ideas on what might cause this behavior: an existing app that was compiled with 10.6 SDK runs fine on 10.6 and 10.5. When run on 10.7, document windows (and their window controllers and NSDocuments) do not get released when the window is closed.
>
> All thoughts appreciated.
Have you used Instruments to find out why? If not, then use the object alloc instrument with reference counting turned on. Then look at your window objects and try and figure out where the extra retain is happening.
Nick Zitzmann
<http://www.chronosnet.com/>
_______________________________________________
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