Skip to content

Commit

Permalink
Taking care of potential null pointer
Browse files Browse the repository at this point in the history
  • Loading branch information
ArtursKadikis committed Sep 22, 2023
1 parent 88f1798 commit 6f9394b
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -364,6 +364,8 @@ public Boolean call() throws Exception {
}

public static void stop() {
tasks.shutdown();
if(tasks != null) {
tasks.shutdown();
}
}
}

0 comments on commit 6f9394b

Please sign in to comment.