Skip to content

Commit

Permalink
Update Timeline method
Browse files Browse the repository at this point in the history
  • Loading branch information
nlisker committed Jan 29, 2024
1 parent 9271663 commit e2ff72a
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -192,13 +192,13 @@ void doStart(boolean forceSync) {
}

@Override
void stopOnFxThread() {
void stopImpl() {
if (parent != null) {
throw new IllegalStateException("Cannot stop when embedded in another animation");
}
if (getStatus() == Status.RUNNING) {
clipCore.abort();
}
super.stopOnFxThread();
super.stopImpl();
}
}

0 comments on commit e2ff72a

Please sign in to comment.