Re: Lingering windows
Re: Lingering windows
- Subject: Re: Lingering windows
- From: Quincey Morris <email@hidden>
- Date: Tue, 09 Aug 2011 23:20:39 -0700
On Aug 9, 2011, at 22:34 , Shane Stanley wrote:
> In my document class's -makeWindowControllers I'm setting a property to the window controller; could that be the problem?
A property of the document? Could be, but you'd have to track through the gc info-roots to find out what's keeping what alive.
If you're setting this property just for convenience (after all, you can find the window controller later by examining [document windowControllers]), then maybe you really want this property to be a weak reference?
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden