Re: NSXML & Auto Release Pools
Re: NSXML & Auto Release Pools
- Subject: Re: NSXML & Auto Release Pools
- From: Michael Ash <email@hidden>
- Date: Wed, 4 Feb 2009 17:54:12 -0500
On Wed, Feb 4, 2009 at 3:23 PM, Alan Shouls <email@hidden> wrote:
> Hi James,
>
>> The NSXML object is probably calling autorelease on something in its
>> dealloc method (this is perfectly legal, and should generally be seen as
>> implementation detail - you're just seeing a side effect of it here).
>
> Right - thanks for this. This explains what is happening.
And if you want to check it out further, the error message refers to
an _NSAutoreleaseNoPool function being called. Stick a breakpoint on
that function in the debugger and make the problem happen again, and
then you can see precisely where it's happening and, hopefully, get an
idea as to why.
Mike
_______________________________________________
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