用户下线出现提示bug

This commit is contained in:
CaiYanPeng 2022-07-20 13:47:10 +08:00
parent 2274a13619
commit 32c644fde8

View File

@ -456,6 +456,8 @@ namespace Assets.Scripts.Ble
public void Dispose()
{
if (bleMobileThread == null)
return;
bleMobileThread.ManagerInitialized -= BleMobileThread_ManagerInitialized;
bleMobileThread.ManagerStatusChanged -= ManagerStatusChanged;
bleMobileThread.ScanInfoReceived -= WatcherScanInfoReceived;