Re: Strange Retain Count?
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