On Jun 2, 2008, at 1:50 PM, Bill Bumgarner wrote:
If your window is sometimes disappearing under GC -- is sometimes being collected prior to when you think it should be -- that means that the collector doesn't believe that the window object is being used by your application. To the collector, being visible doesn't count as "in use".

I've been assuming that NSApplication keeps a strong reference to all windows in its window list, but now that I think of it there's no particular reason to assume that. Is it not the case? I just want to correct my mental model if I've been mis-assuming.

--Andy

_______________________________________________

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to