Re: Nested AutoRelease Pools Crash
Re: Nested AutoRelease Pools Crash
- Subject: Re: Nested AutoRelease Pools Crash
- From: Trygve Inda <email@hidden>
- Date: Sun, 26 Apr 2009 19:59:45 +0000
- Thread-topic: Nested AutoRelease Pools Crash
> Trygve Inda wrote:
>
>> Sorry - what I thought were irrelevant parts were partly removed to
>> keep the
>> email line wrap nice. I'll try to narrow it down some more.
>
>
> Instead of narrowing it down only for emailing, you might actually
> refactor it so the main loop looks more like the paraphrase you
> originally posted. More than once, in the process of cleaning up
> code for presentation to someone else, I have found the problem that
> caused me to start cleaning it up for presentation. Even when I
> didn't find the problem, the cleaned-up code has invariably been
> better as a result.
Yup. I cleaned it up... On of the "doStuff" was accolcating an NSDate that
was needed in the blockUnitl method, but it was getting drained with the
pool before that.
All better now.
T.
_______________________________________________
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