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

Fixed bad check of _TBGatewayService__statistics_service #1298

This commit is contained in:
imbeacon
2024-02-12 08:10:15 +02:00
parent 2ef6cfd526
commit c844839afa

View File

@@ -538,7 +538,7 @@ class TBGatewayService:
self.__updater.stop()
log.info("Stopping...")
if hasattr(self, '_TBGatewayService__statistics_service'):
if self.__statistics_service is not None:
self.__statistics_service.stop()
if self.__grpc_manager is not None: