Re: views not released when window closed
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