• 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
Releasing Objects Allocated in Different Autorelease Pool
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Releasing Objects Allocated in Different Autorelease Pool


  • Subject: Releasing Objects Allocated in Different Autorelease Pool
  • From: Eric Blanpied <email@hidden>
  • Date: Thu, 27 Jul 2006 23:03:45 -0400

I've got a process on a separate thread which creates objects. This process has it's own autorelease pool, as the docs it seem to recommend. When I release these objects later on, it's done from the main thread. Watching the app in ObjectAlloc, I can see that these objects are never going away, and the various objects they reference don't seem to be getting deallocated, either.

Can someone explain the correct way to do this, please?

Thanks

-eric
_______________________________________________
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


  • Follow-Ups:
    • Re: Releasing Objects Allocated in Different Autorelease Pool
      • From: Chris Suter <email@hidden>
  • Prev by Date: NSTabView and edit fields
  • Next by Date: Re: Releasing Objects Allocated in Different Autorelease Pool
  • Previous by thread: Re: NSTabView and edit fields
  • Next by thread: Re: Releasing Objects Allocated in Different Autorelease Pool
  • Index(es):
    • Date
    • Thread