Skip to content

Commit b75c799

Browse files
authored
Fix AnimatorState.removeListeners (#725)
1 parent 2424e15 commit b75c799

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/OpenSwiftUICore/Animation/Animatable/AnimatableAttribute.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -474,7 +474,7 @@ final package class AnimatorState<V> where V: VectorArithmetic {
474474
package func removeListeners() {
475475
listeners.forEach { $0.animationWasRemoved() }
476476
listeners = []
477-
listeners.forEach { $0.animationWasRemoved() }
477+
logicalListeners.forEach { $0.animationWasRemoved() }
478478
logicalListeners = []
479479
}
480480

0 commit comments

Comments
 (0)