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:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user