Skip to content
This repository has been archived by the owner on Jul 28, 2021. It is now read-only.

Commit

Permalink
Fix NPE in terminate call
Browse files Browse the repository at this point in the history
  • Loading branch information
sathipal committed Apr 6, 2017
1 parent 5c70b3f commit 6ca9975
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1599,7 +1599,9 @@ public void run() {
private void terminate() {
running = false;
try {
publishQueue.put(dummy);
if(null != publishQueue) {
publishQueue.put(dummy);
}
} catch (InterruptedException e) {
}
}
Expand Down

0 comments on commit 6ca9975

Please sign in to comment.