Skip to content

Commit

Permalink
THRIFT-4849: Do not Ignore InterruptedException
Browse files Browse the repository at this point in the history
  • Loading branch information
belugabehr authored and jeking3 committed Jul 8, 2019
1 parent 234e80e commit 286eee1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/java/src/org/apache/thrift/server/TNonblockingServer.java
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,8 @@ protected void joinSelector() {
try {
selectAcceptThread_.join();
} catch (InterruptedException e) {
// for now, just silently ignore. technically this means we'll have less of
// a graceful shutdown as a result.
LOGGER.debug("Interrupted while waiting for accept thread", e);
Thread.currentThread().interrupt();
}
}

Expand Down

0 comments on commit 286eee1

Please sign in to comment.