From a6e51869dcfb26ddb70ca5076474aac1e597d1b3 Mon Sep 17 00:00:00 2001 From: xinfengkun Date: Mon, 17 Feb 2025 15:02:47 +0800 Subject: [PATCH] =?UTF-8?q?[6100][data-center]=E7=A1=AC=E4=BB=B6=E8=AE=BE?= =?UTF-8?q?=E5=A4=87=E9=87=8D=E6=96=B0=E5=88=9D=E5=A7=8B=E5=8C=96=E6=97=B6?= =?UTF-8?q?=E8=BF=9B=E8=A1=8C=E4=B8=8A=E4=B8=80=E6=AC=A1=E6=95=B0=E6=8D=AE?= =?UTF-8?q?=E9=94=80=E6=AF=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/mogo/eagle/core/function/datacenter/iot/IotManager.kt | 1 + 1 file changed, 1 insertion(+) diff --git a/core/function-impl/mogo-core-function-datacenter/src/main/java/com/mogo/eagle/core/function/datacenter/iot/IotManager.kt b/core/function-impl/mogo-core-function-datacenter/src/main/java/com/mogo/eagle/core/function/datacenter/iot/IotManager.kt index 42e622c8f3..fef9c96c91 100644 --- a/core/function-impl/mogo-core-function-datacenter/src/main/java/com/mogo/eagle/core/function/datacenter/iot/IotManager.kt +++ b/core/function-impl/mogo-core-function-datacenter/src/main/java/com/mogo/eagle/core/function/datacenter/iot/IotManager.kt @@ -23,6 +23,7 @@ object IotManager : IMoGoCloudListener, IWriteChainLogListener { private var isPassenger: Boolean = false fun init(isPassenger: Boolean, isB2: Boolean) { + destroy()//重新初始化时销毁之前调用的数据 this.isPassenger = isPassenger if (isPassenger) { CallerCloudListenerManager.addListener(TAG, this)