Skip to content

Commit

Permalink
[rfxcom] In/out streams closed when the socket is closed (#7786)
Browse files Browse the repository at this point in the history
Signed-off-by: Laurent Garnier <[email protected]>
  • Loading branch information
lolodomo authored May 25, 2020
1 parent 4d53ed7 commit 5535043
Showing 1 changed file with 0 additions and 17 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -66,23 +66,6 @@ public void disconnect() {
}
}

if (out != null) {
logger.debug("Close tcp out stream");
try {
out.close();
} catch (IOException e) {
logger.debug("Error while closing the out stream: {}", e.getMessage());
}
}
if (in != null) {
logger.debug("Close tcp in stream");
try {
in.close();
} catch (IOException e) {
logger.debug("Error while closing the in stream: {}", e.getMessage());
}
}

if (socket != null) {
logger.debug("Close socket");
try {
Expand Down

0 comments on commit 5535043

Please sign in to comment.