• 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: Nested AutoRelease Pools Crash
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >Re: Nested AutoRelease Pools Crash (From: Greg Guerin <email@hidden>)

  • Prev by Date: Re: ObjectAlloc and objects that should have been released
  • Next by Date: Re: FSPathCopyObjectSync and symbolic links?
  • Previous by thread: Re: Nested AutoRelease Pools Crash
  • Next by thread: NSTask, or threading?
  • Index(es):
    • Date
    • Thread