Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[keba] Don't use selector if it has been closed (openhab#7776)
Browse files Browse the repository at this point in the history
* don't use selector if it has been closed
* addressed review comment

Signed-off-by: Kai Kreuzer <kai@openhab.org>
Signed-off-by: CSchlipp <christian@schlipp.de>
kaikreuzer authored and CSchlipp committed Jul 26, 2020

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
1 parent 70dda15 commit 7731dc4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
@@ -398,7 +398,7 @@ protected ByteBuffer send(String message, KeContactHandler handler) {
} else {
return;
}
} catch (InterruptedException e) {
} catch (InterruptedException | ClosedSelectorException e) {
Thread.currentThread().interrupt();
return;
}

0 comments on commit 7731dc4

Please sign in to comment.