On May 29, 2012, at 10:05 PM, Graham Cox <graham....@bigpond.com> wrote:
> The key object that seems never to release my document is the NSSavePanel > that is displayed only when I have added content, and I close the window. The > save panel is shown, and the retain count shoots right up. If I click 'Don't > Save', the window closes as expected but the document is still retained - the > retain count does not go back down to the point it was at prior to the dialog > showing up, and dealloc is never called. > > Key point: If I disable autosaving for my document class, the document is > deallocated as expected. Do you override any of the saving methods and fail to call their completion handlers in the Don't Save case? --Kyle Sluder _______________________________________________ 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