uncacheAction method
Deallocates all memory resources for an action. Before using this method make sure to call AnimationAction.stop to deactivate the action.
Implementation
/// make sure to call [AnimationAction.stop]() to deactivate the action.
void uncacheAction(AnimationClip clip, [optionalRoot]) {
final action = existingAction(clip, optionalRoot);
if (action != null) {
deactivateAction(action);
_removeInactiveAction(action);
}
}