Skip to content

Commit

Permalink
[ISSUE apache#3822]Enhance thread handling of InterruptedException (a…
Browse files Browse the repository at this point in the history
  • Loading branch information
scwlkq authored Jan 23, 2024
1 parent 1d30733 commit 506838e
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,7 @@ private void fileWatchRegister() {
key = service.take();
} catch (InterruptedException e) {
log.error("Interrupted", e);
Thread.currentThread().interrupt();
}

assert key != null;
Expand Down

0 comments on commit 506838e

Please sign in to comment.