Skip to content

Commit

Permalink
fix SmartLifecycle#stop
Browse files Browse the repository at this point in the history
  • Loading branch information
JoeCqupt committed Oct 29, 2024
1 parent 632e0d6 commit 4fed366
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ public boolean isAutoStartup() {
@Override
public void stop(Runnable runnable) {
runnable.run();
this.isRunning = false;
stop();
}

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,6 @@ public int getPhase() {
@Override
public void stop(Runnable callback) {
callback.run();
this.running.set(false);
stop();
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,6 @@ public int getPhase() {
@Override
public void stop(Runnable callback) {
callback.run();
this.running.set(false);
stop();
}
}

0 comments on commit 4fed366

Please sign in to comment.