mirror of
https://github.com/thingsboard/thingsboard-gateway
synced 2025-10-26 22:31:42 +08:00
Refactoring
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user