From 653b65a9bd3d3df806f7cbecc767085cd506058d Mon Sep 17 00:00:00 2001
From: WJC <wjc@hdlchina.com.cn>
Date: 星期四, 14 十一月 2019 16:30:39 +0800
Subject: [PATCH] 2019-11-14-1

---
 ZigbeeApp/Shared/Phone/Device/Light/AirSwitchControl.cs |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/ZigbeeApp/Shared/Phone/Device/Light/AirSwitchControl.cs b/ZigbeeApp/Shared/Phone/Device/Light/AirSwitchControl.cs
index 5e8a5be..b23b5bc 100755
--- a/ZigbeeApp/Shared/Phone/Device/Light/AirSwitchControl.cs
+++ b/ZigbeeApp/Shared/Phone/Device/Light/AirSwitchControl.cs
@@ -157,8 +157,8 @@
         public override void RemoveFromParent()
         {
             ZbGateway.StatusList.Remove(this);
-            action();
-            action = null;
+            //action();
+            //action = null;
             RemoveUpdateControlDeviceStatuAction();
             base.RemoveFromParent();
         }

--
Gitblit v1.8.0