From a869383e163a18cdedcf587383c1eca043129754 Mon Sep 17 00:00:00 2001
From: JLChen <551775569@qq.com>
Date: 星期二, 18 五月 2021 13:19:12 +0800
Subject: [PATCH] 2021-05-18 1.更新

---
 iOS/Xamarin/LCOnDemo/LCOnDemo/LCSDK/LCOnMonitorViewController.m |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/iOS/Xamarin/LCOnDemo/LCOnDemo/LCSDK/LCOnMonitorViewController.m b/iOS/Xamarin/LCOnDemo/LCOnDemo/LCSDK/LCOnMonitorViewController.m
index ab3ec47..9c276f0 100644
--- a/iOS/Xamarin/LCOnDemo/LCOnDemo/LCSDK/LCOnMonitorViewController.m
+++ b/iOS/Xamarin/LCOnDemo/LCOnDemo/LCSDK/LCOnMonitorViewController.m
@@ -584,11 +584,11 @@
         _openDoorTimer = nil; // OK
     }
     
+    [[NSNotificationCenter defaultCenter] removeObserver:self];
 }
 
 -(void)dealloc{
     NSLog(@"==============dealloc  1");
-    [[NSNotificationCenter defaultCenter] removeObserver:self];
 }
 
 //#pragma mark ESVideoPhoneDelegate

--
Gitblit v1.8.0