Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
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



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




Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.