From e9586687f735c4fbca5111e991f9074dc6642bf7 Mon Sep 17 00:00:00 2001
From: 648540858 <456panlinlin>
Date: 星期五, 25 三月 2022 10:01:12 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/wvp-28181-2.0' into wvp-28181-2.0

---
 src/main/java/com/genersoft/iot/vmp/conf/SipPlatformRunner.java |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/main/java/com/genersoft/iot/vmp/conf/SipPlatformRunner.java b/src/main/java/com/genersoft/iot/vmp/conf/SipPlatformRunner.java
index b69bf68..7f9f847 100644
--- a/src/main/java/com/genersoft/iot/vmp/conf/SipPlatformRunner.java
+++ b/src/main/java/com/genersoft/iot/vmp/conf/SipPlatformRunner.java
@@ -59,10 +59,10 @@
             redisCatchStorage.updatePlatformCatchInfo(parentPlatformCatch);
 
             // 鍙栨秷璁㈤槄
-            sipCommanderForPlatform.unregister(parentPlatform, null, null);
-            Thread.sleep(500);
-            // 鍙戦�佸钩鍙版湭娉ㄥ唽娑堟伅
-            publisher.platformNotRegisterEventPublish(parentPlatform.getServerGBId());
+            sipCommanderForPlatform.unregister(parentPlatform, null, (eventResult)->{
+                // 鍙戦�佸钩鍙版湭娉ㄥ唽娑堟伅
+                publisher.platformNotRegisterEventPublish(parentPlatform.getServerGBId());
+            });
         }
     }
 }

--
Gitblit v1.8.0