Re: More autorelease pool strangeness
Re: More autorelease pool strangeness
- Subject: Re: More autorelease pool strangeness
- From: Skip Haughay <email@hidden>
- Date: Mon, 20 Nov 2006 11:01:30 -0500
That's what it sounds like to me as well. As I posted in my original
note, the function within the framework that is getting called
creates an autorelease pool. For whatever reason, these items that
are added to it aren't being decremented when the pool is released.
It is very strange. It is almost as if the stack of pools is messed
up in some way, and the item is added to the wrong pool or something.
Skip
On Nov 20, 2006, at 10:55 AM, Alan Smith wrote:
Hmm.
It sounds like the object is not getting added to thePool.
I don't know but perhaps when a framework's methods are called an
autorelease pool is created and this object is getting put in there.
But that doesn't make much sense at all.
I wouldn't put an autorelease pool around those methods. I would let
the one that is created on launch to take care of it. Perhaps that
will fix it.
Once you get this figured out post a [SOLVED] post, I'm interested to
see what's going on here.
Good luck, Alan
--
// Quotes from yours truly -------------------------
"You don't forget, you just don't remember."
"Maturity resides in the mind."
"Silence is the Universe's greatest gift."
"When the World realizes that religion really is unnecessary, then it
shall evolve."
_______________________________________________
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