/Engine/Source/Runtime/Engine/Public/Animation/AnimInstanceProxy.h
Clear any UObjects we might be using. Called at the end of the post-evaluate phase. This is to ensure that objects are not used by anything apart from animation nodes. Please make sure to call the base implementation if this is overridden.
virtual void ClearObjects()