• 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: NSLock and AutoreleasePool question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSLock and AutoreleasePool question


  • Subject: Re: NSLock and AutoreleasePool question
  • From: Development <email@hidden>
  • Date: Wed, 16 Jan 2008 09:06:17 -0700


On Jan 15, 2008, at 11:53 PM, stephen joseph butler wrote:

As long as you both (a) create the autorelease pool and (b) release
the autorelease pool on the SAME THREAD then you're fine. My guess is
that you're getting crashes for the same reason most people get
crashes: you're over-releasing an object that's in the pool. It's
probably not a thread specific issue, but a general memory management
one.

Hmm. that makes sense. I'll make sure I'm not releasing the same object more than I should be.


Thank you.
_______________________________________________

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: 
 >NSLock and AutoreleasePool question (From: Development <email@hidden>)
 >Re: NSLock and AutoreleasePool question (From: "stephen joseph butler" <email@hidden>)

  • Prev by Date: Re: Handle Dock menu open/close events
  • Next by Date: Re: Using Terminal within Cocoa App.
  • Previous by thread: Re: NSLock and AutoreleasePool question
  • Next by thread: Using Terminal within Cocoa App.
  • Index(es):
    • Date
    • Thread