How can I dispose animationMixer's actions while it finished its Loop once?

I created a small duration action once to perform an interaction by listening to the mousemoving event. Bug after a while, I checked the console.log and find out that there were thousands of actions under the mixer. I can catch the ‘finished’ event of this action play, bug how can I dispose/remove it in order to release memory?

https://threejs.org/docs/index.html#api/en/animation/AnimationMixer.uncacheClip

https://threejs.org/docs/index.html#api/en/animation/AnimationMixer.uncacheRoot

https://threejs.org/docs/index.html#api/en/animation/AnimationMixer.uncacheAction

Thank you, dude.

1 Like