Re: Can I somehow encourage the deallocation of a dismissed view controller?
Re: Can I somehow encourage the deallocation of a dismissed view controller?
- Subject: Re: Can I somehow encourage the deallocation of a dismissed view controller?
- From: G S <email@hidden>
- Date: Wed, 08 Feb 2012 16:54:45 -0800
Thanks for the response.
> Even *if* deallocation occurs later, that shouldn't cause a crash.
>
I'm not suggesting that this is what's causing the crash. It's simply
preventing me from debugging the problem, because I can't reproduce it on
demand.
It's just a crash in the control's dealloc method:
0x0019f56e -[ThumbStripView dealloc]
As it turns out, presenting the view modally and then dismissing it
*does* result
in its prompt deallocation. But the member control's dealloc method is not
called during the deallocation of the view. The view is loaded from a XIB.
Shouldn't the controls' dealloc methods be called then too?
_______________________________________________
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