Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Artur- committed May 6, 2023
1 parent 49eacaf commit aa7b3c0
Showing 1 changed file with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -569,6 +569,10 @@ public void onDestroy(Runnable callback) {

@Override
public void stop() {
if (onDestroy != null) {
onDestroy.run();
}

if (reuseDevServer) {
return;
}
Expand Down Expand Up @@ -597,9 +601,6 @@ public void stop() {
devServerProcess.set(null);
usingAlreadyStartedProcess = false;
removeRunningDevServerPort();
if (onDestroy != null) {
onDestroy.run();
}
}

@Override
Expand Down

0 comments on commit aa7b3c0

Please sign in to comment.