diff --git a/Sources/OpenSwiftUICore/Animation/Animatable/AnimatableAttribute.swift b/Sources/OpenSwiftUICore/Animation/Animatable/AnimatableAttribute.swift index c18a89817..b798ff77a 100644 --- a/Sources/OpenSwiftUICore/Animation/Animatable/AnimatableAttribute.swift +++ b/Sources/OpenSwiftUICore/Animation/Animatable/AnimatableAttribute.swift @@ -474,7 +474,7 @@ final package class AnimatorState where V: VectorArithmetic { package func removeListeners() { listeners.forEach { $0.animationWasRemoved() } listeners = [] - listeners.forEach { $0.animationWasRemoved() } + logicalListeners.forEach { $0.animationWasRemoved() } logicalListeners = [] }