Reputation: 4869
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?
Upvotes: 0
Views: 298
Reputation: 104708
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.
Upvotes: 3