Document object is not being released
Document object is not being released
- Subject: Document object is not being released
- From: Ari Benzane <email@hidden>
- Date: Thu, 8 Feb 2007 13:07:46 +0000 (GMT)
Hi. I've been hunting for memory leaks in my large, document-based app and I've found that my model object (NSDocument subclass) is not being released, either when the main window is closed or the app quits. I've got an NSLog() in the dealloc method and it's not being called.
My app has several properties palettes with their own window-controllers and delagates for managing tables etc, in addition to bindings. But no-where is my code explicitly retain-ing references or outlets to my document class.
I know the details are vague, but can anyone suggest what the problem might be? I've tried setting the 'release when closed' option on the window in IB but it made no difference.
---------------------------------
Copy addresses and emails from any email account to Yahoo! Mail - quick, easy and free. Do it now...
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden