Skip to content

Commit

Permalink
[amazonechocontrol] Partial revert of PR 7919 (openhab#8074)
Browse files Browse the repository at this point in the history
Related to openhab#8027

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
Signed-off-by: MPH80 <michael@hazelden.me>
  • Loading branch information
lolodomo authored and MPH80 committed Aug 3, 2020
1 parent 64b6b06 commit b969186
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -162,9 +162,7 @@ public void close() {
sessionFuture.cancel(true);
}
try {
if (webSocketClient.isStarted()) {
webSocketClient.stop();
}
webSocketClient.stop();
} catch (InterruptedException e) {
// Just ignore
} catch (Exception e) {
Expand Down

0 comments on commit b969186

Please sign in to comment.