• 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: Strange Retain Count?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Strange Retain Count?


  • Subject: Re: Strange Retain Count?
  • From: Daniel Jalkut <email@hidden>
  • Date: Mon, 21 Nov 2005 23:58:14 -0500

There's no reason for you to worry about this. You shouldn't be looking at specific variables' retain counts unless you have a particularly good reason to do so. Just let your program run for a while and then run leaks and/or MallocDebug on it. You'll find a lot more to fix by working this problem from the other end.

Daniel

On Nov 21, 2005, at 11:52 PM, Brian O'Brien wrote:

It sure does....
The thread wants to have a copy of the owner of the thread so it
can call the thread to say when it is completed...
That thread has its own autorelease pool...
and just before it finishes it releases its pool.
So hopefully when the thread finishes the retain count on test will be one.

_______________________________________________ Do not post admin requests to the list. They will be ignored. Cocoa-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
References: 
 >Strange Retain Count? (From: "Brian O'Brien" <email@hidden>)
 >Re: Strange Retain Count? (From: Ryan Britton <email@hidden>)
 >Re: Strange Retain Count? (From: "Brian O'Brien" <email@hidden>)
 >Re: Strange Retain Count? (From: Andrei Tchijov <email@hidden>)
 >Re: Strange Retain Count? (From: "Brian O'Brien" <email@hidden>)

  • Prev by Date: Re: Strange Retain Count?
  • Next by Date: [Solved] Custom file filter interferes with modal window (Was: Modal dialog weirdness)
  • Previous by thread: Re: Strange Retain Count?
  • Next by thread: [Solved] Custom file filter interferes with modal window (Was: Modal dialog weirdness)
  • Index(es):
    • Date
    • Thread