diff --git a/thingsboard_gateway/gateway/tb_client.py b/thingsboard_gateway/gateway/tb_client.py index 062b771c..0cc311ad 100644 --- a/thingsboard_gateway/gateway/tb_client.py +++ b/thingsboard_gateway/gateway/tb_client.py @@ -226,7 +226,6 @@ class TBClient(threading.Thread): # pylint: disable=protected-access if self.client._client != client: self.__logger.info("TB client %s has been disconnected. Current client for connection is: %s", str(client), str(self.client._client)) - client.disconnect() client.loop_stop() else: self.__is_connected = False