Skip to content

Commit

Permalink
Only call stopHandler when actually running
Browse files Browse the repository at this point in the history
  • Loading branch information
PimCoumans committed Apr 17, 2024
1 parent b97fa78 commit 1239ba8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/AnimationPlanner/Animations/Animate.swift
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,8 @@ extension Animate: PerformsAnimations {
],
animations: changes
)
stopper.stopHandler?()
}
stopper.stopHandler?()
stopper.isStopped = true
}
}

0 comments on commit 1239ba8

Please sign in to comment.