• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Main window disappears. Sometimes.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Main window disappears. Sometimes.


  • Subject: Re: Main window disappears. Sometimes.
  • From: Andy Lee <email@hidden>
  • Date: Tue, 3 Jun 2008 13:02:33 -0400

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@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


  • Follow-Ups:
    • Re: Main window disappears. Sometimes.
      • From: Bill Bumgarner <email@hidden>
    • Re: Main window disappears. Sometimes.
      • From: "Hamish Allan" <email@hidden>
References: 
 >Main window disappears. Sometimes. (From: Francis Perea <email@hidden>)
 >Re: Main window disappears. Sometimes. (From: Graham Cox <email@hidden>)
 >Re: Main window disappears. Sometimes. (From: Francis Perea <email@hidden>)
 >Re: Main window disappears. Sometimes. (From: Michael Vannorsdel <email@hidden>)
 >Re: Main window disappears. Sometimes. (From: Bill Bumgarner <email@hidden>)

  • Prev by Date: Re: Main window disappears. Sometimes.
  • Next by Date: Manipulating images with meta-data
  • Previous by thread: Re: Main window disappears. Sometimes.
  • Next by thread: Re: Main window disappears. Sometimes.
  • Index(es):
    • Date
    • Thread