Re: CALayer's removeFromSuperlayer processing time
Re: CALayer's removeFromSuperlayer processing time
- Subject: Re: CALayer's removeFromSuperlayer processing time
- From: vincent habchi <email@hidden>
- Date: Wed, 31 Mar 2010 22:02:57 +0200
Hi Dave,
>> However, I register quite a significant delay (sometimes 6 to 10 seconds) between this call and the actual call to [theCALayerIWantToRemove release]. Is this normal (due to some autorelease pool being drained?)?
>
> It is normal in terms of us making no guarantees as to the timing between a layer being removed from its super layer and that layer being released by its super layer.
>
> Is there a specific issue you are trying to debug?
For some unknown reason (I am investigating on that), the new layer I create to replace the old won't be displayed before the old get deallocated. So I get a visible glitch while the old layer is removed from screen but not yet deallocated.
Thanks for your help,
Vincent_______________________________________________
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