user491880
user491880

Reputation: 4869

iOS5 memory management with dispatch queues

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

Answers (1)

justin
justin

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 */ }

NSAutoreleasePools aren't really objects anymore.

Upvotes: 3

Related Questions