I have a core data based application, and use the NSPersistentDocument's -managedObjectContext to get my managed object context. As far as I can see, I do not retain or release it anywhere in my code, but apparently it is getting over released when I close my document. My test case is to start my application, and then close the document.
I ran it in instruments with zombies, and it only shows two events: # Category Event Type RefCt Timestamp Address Size Responsible Library Responsible Caller 0 NSManagedObjectContext Malloc 1 00:12.552 0x1008d01f0 240 AppKit -[NSPersistentDocument managedObjectContext] 1 NSManagedObjectContext Zombie -1 00:26.194 0x1008d01f0 0 Foundation -[NSConcreteNotification dealloc] Seeing as none of this appears to have anything to do with my code, I am assuming that some notification created somewhere in my application is somehow the cause, but I'm not sure how to track this down. Any suggestions would be very welcome. Thanks Gideon _______________________________________________ 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com