From 848dc3467aa22af89e6a4c0a8703ca83cb0b7b06 Mon Sep 17 00:00:00 2001 From: wei <kaede@kaededeMacBook-Air.local> Date: 星期三, 23 十二月 2020 17:23:44 +0800 Subject: [PATCH] 20000 --- HDL_ON/DAL/Mqtt/MqttClient.cs | 7 ++++++- 1 files changed, 6 insertions(+), 1 deletions(-) diff --git a/HDL_ON/DAL/Mqtt/MqttClient.cs b/HDL_ON/DAL/Mqtt/MqttClient.cs index 9246240..1ecf619 100644 --- a/HDL_ON/DAL/Mqtt/MqttClient.cs +++ b/HDL_ON/DAL/Mqtt/MqttClient.cs @@ -557,7 +557,12 @@ DisConnectRemoteMqttClient("鎸や笅绾�"); - HDLCommon.Current.CheckLogout(); + Application.RunOnMainThread(() => + { + //寮圭獥鎻愮ず琚尋涓嬬嚎 + HDLCommon.Current.CheckLogout(); + }); + //UserInfo.Current.LastTime = DateTime.MinValue; //UserInfo.Current.SaveUserInfo(); -- Gitblit v1.8.0