diff --git a/bundles/org.openhab.binding.rfxcom/src/main/java/org/openhab/binding/rfxcom/internal/connector/RFXComTcpConnector.java b/bundles/org.openhab.binding.rfxcom/src/main/java/org/openhab/binding/rfxcom/internal/connector/RFXComTcpConnector.java index 8e02cc384d4d3..e2a0b088e76c9 100644 --- a/bundles/org.openhab.binding.rfxcom/src/main/java/org/openhab/binding/rfxcom/internal/connector/RFXComTcpConnector.java +++ b/bundles/org.openhab.binding.rfxcom/src/main/java/org/openhab/binding/rfxcom/internal/connector/RFXComTcpConnector.java @@ -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 {