Skip to content

Commit

Permalink
shutdown executor instead of calling close
Browse files Browse the repository at this point in the history
  • Loading branch information
xGinko committed Dec 31, 2024
1 parent c357828 commit 9824441
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ public void disable() {
scheduledTask = null;
}
if (executorService != null) {
executorService.close();
executorService.shutdownNow();
executorService = null;
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ public void disable() {
scheduledTask = null;
}
if (executorService != null) {
executorService.close();
executorService.shutdownNow();
executorService = null;
}
}
Expand Down

0 comments on commit 9824441

Please sign in to comment.