calling spAnimationState_dispose() safety