iOS5 memory management with dispatch queues
Question
Now that there is ARC You cannot create a new NSAutoRelease pool... yet it leaks a bunch of memory if run on a different queue... should this be happening?
Solution
they merely changed how it is created, and forced this change on you for new development when ARC is enabled:
@autoreleasepool { /* your autoreleasing program here */ }
NSAutoreleasePool
s aren't really objects anymore.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow