diff --git a/src/native/Svg.tsx b/src/native/Svg.tsx index 76862dc..2ef6a6d 100644 --- a/src/native/Svg.tsx +++ b/src/native/Svg.tsx @@ -67,6 +67,12 @@ class NativeSvg extends Component { } } + componentWillUnmount = () => { + if (this.props.animate) { + this.animatedValue.removeAllListeners() + } + } + render() { const { children,