Skip to content

Commit

Permalink
fixed ci problems
Browse files Browse the repository at this point in the history
  • Loading branch information
chengyouling committed Oct 19, 2024
1 parent 16aa9a2 commit fc51eea
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -106,8 +106,10 @@ public void stop() {
running = false;
this.taskPool.shutdown();
this.taskPool.awaitTermination(10, TimeUnit.SECONDS);
this.addrCheckExecutor.shutdown();
this.addrCheckExecutor.awaitTermination(10, TimeUnit.SECONDS);
if (addrCheckExecutor != null) {
this.addrCheckExecutor.shutdown();
this.addrCheckExecutor.awaitTermination(10, TimeUnit.SECONDS);
}
} catch (InterruptedException e) {
LOGGER.warn("tasks not shutdown in time {}", e.getMessage());
}
Expand Down

0 comments on commit fc51eea

Please sign in to comment.