Skip to content

Commit

Permalink
Prevent deadlock on exit.
Browse files Browse the repository at this point in the history
Fixes #417
  • Loading branch information
jbachorik committed May 1, 2020
1 parent 0ac023e commit 92ed732
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1034,6 +1034,8 @@ private void enqueue(Command cmd) {
Thread.sleep(100);
}
} catch (InterruptedException e) {
Thread.currentThread().interrupt();
break;
}
backoffCntr++;
}
Expand Down

0 comments on commit 92ed732

Please sign in to comment.