diff --git a/src/core/useAnimations.tsx b/src/core/useAnimations.tsx index 2aa0adaca..c202516f5 100644 --- a/src/core/useAnimations.tsx +++ b/src/core/useAnimations.tsx @@ -49,5 +49,12 @@ export function useAnimations( }) } }, [clips]) + + React.useEffect(() => { + return () => { + mixer.stopAllAction() + } + }, [mixer]) + return api }