• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Windows get released on 10.6, leak on 10.7
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >Windows get released on 10.6, leak on 10.7 (From: Ross Carter <email@hidden>)

  • Prev by Date: Re: Why am I getting May Not Respond warnings for Super
  • Next by Date: Re: Windows get released on 10.6, leak on 10.7
  • Previous by thread: Re: Windows get released on 10.6, leak on 10.7
  • Next by thread: Re: Windows get released on 10.6, leak on 10.7
  • Index(es):
    • Date
    • Thread