• 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: views not released when window closed
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: views not released when window closed


  • Subject: Re: views not released when window closed
  • From: Jerry Krinock <email@hidden>
  • Date: Wed, 23 May 2007 09:03:24 -0700


On 2007 May, 23, at 8:44, lina peterseil wrote:

I have an application which contains two windows. The secondary window
contains a number of OpenGL views. When the main document is closed the two
windows are closed. However the secondary window controller is dealloced the
views are not released causing a crash. I have tried enabling the "release
when closed" check box in the nib inspector, to no effect.
I cannot figure out why these views are not being released.


Any ideas?

Problems like this are often caused by a "retain cycle".

http://www.stepwise.com/Articles/Technical/HoldMe.html
_______________________________________________

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


References: 
 >views not released when window closed (From: "lina peterseil" <email@hidden>)

  • Prev by Date: Re: Key hooks and Mouse hooks
  • Next by Date: Re: Can you "bind" two values into one?
  • Previous by thread: views not released when window closed
  • Next by thread: drawing to an image and quickly copying it
  • Index(es):
    • Date
    • Thread