On May 30, 2012, at 8:13 AM, Graham Cox <[email protected]> wrote:

> 
>> I guess you should implement -[NSDocument close] to do your cleanup then.
> 
> Indeed, I have done. But that doesn't fix the bug, it only mitigates its 
> effects. A leak is still there, and it's a potentially quite large one, since 
> NSDocument owns my data model.

Surely you can invalidate your data model within -close? How does NSDocument 
otherwise have a handle on it?

--Kyle Sluder
_______________________________________________

Cocoa-dev mailing list ([email protected])

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 [email protected]

Reply via email to