1
0
mirror of https://github.com/thingsboard/thingsboard-gateway synced 2025-10-26 22:31:42 +08:00

Refactoring

This commit is contained in:
imbeacon
2024-06-06 10:35:28 +03:00
parent 38492a94fb
commit a186613697

View File

@@ -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