Skip to content

Commit

Permalink
log before setting shutdownRequested true
Browse files Browse the repository at this point in the history
  • Loading branch information
Edvard Fonsell committed Apr 18, 2020
1 parent 7c402b4 commit 12ba985
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -110,8 +110,8 @@ public void run() {
public void shutdown() {
if (running) {
if (!shutdownRequested) {
logger.info("Initiating shutdown.");
shutdownRequested = true;
logger.info("Shutdown initiated.");
}
try {
shutdownDone.await();
Expand Down

0 comments on commit 12ba985

Please sign in to comment.