On Jun 21, 2014, at 7:39 AM, Kyle Sluder <k...@ksluder.com> wrote: > You should add the @autoreleasepool around NSApplicationMain. I don't know > why it's missing from the Mac template.
I disagree. It’s pointless to have an autorelease pool that won’t be drained till the application quits. Anything autoreleased into that pool will be effectively leaked, and draining the pool on quit does nothing but slow down termination. The OP’s issue looks like an OS bug — there’s no application code on the stack at the time of the autorelease. Should be reported to Apple. —Jens _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com