void AnimationEffect::finished()
{
    AnimationUnrecPtr anim = getAnimation();
    anim->detachUpdateProducer();
    anim->removeAnimationListener(&theInternalAnimationListener);
    Inherited::finished();
}