|
@@ -955,6 +955,7 @@ static webSocketManager *webSocketManagerInstance = nil;
|
|
|
return;
|
|
|
}
|
|
|
|
|
|
+
|
|
|
//通知音视频断开链接
|
|
|
[[NSNotificationCenter defaultCenter] postNotificationName:logoutByOtherNotification object:nil];
|
|
|
|
|
@@ -976,11 +977,24 @@ static webSocketManager *webSocketManagerInstance = nil;
|
|
|
|
|
|
_isLogoutByOtherType = YES;
|
|
|
_didSendfristMsg = NO;
|
|
|
+ _isWaitShowLogoutAlert = YES;
|
|
|
|
|
|
//被挤下线 ws断开
|
|
|
[self.commandChannelManager rc_close];
|
|
|
self.commandChannelManager = nil;
|
|
|
|
|
|
+ if(ksharedAppDelegate.isDidShowPwdType){
|
|
|
+
|
|
|
+ KWeakSelf
|
|
|
+ dispatch_after(dispatch_time(DISPATCH_TIME_NOW, (int64_t)(3 * NSEC_PER_SEC)), dispatch_get_main_queue(), ^{
|
|
|
+ [weakSelf LogoutByOtherFun];
|
|
|
+ HLog(@"weakSelf LogoutByOtherFun")
|
|
|
+ });
|
|
|
+ return;
|
|
|
+ }
|
|
|
+
|
|
|
+ _isWaitShowLogoutAlert = NO;;
|
|
|
+
|
|
|
/*弹窗提示重启*/
|
|
|
//KWeakSelf
|
|
|
logoutAlertVC = [[ComontAlretViewController alloc] initWithTiTle:NSLocalizedString(@"single_sign_on_Tips_logout",nil)
|
|
@@ -993,6 +1007,7 @@ static webSocketManager *webSocketManagerInstance = nil;
|
|
|
//[[webSocketManager shareInstance] WebSocketNeedRelinkFun];
|
|
|
|
|
|
self->_isLogoutByOtherType = NO;
|
|
|
+ self->logoutAlertVC = nil;
|
|
|
[[NSNotificationCenter defaultCenter] postNotificationName:lockBypwdNotification object:nil];
|
|
|
|
|
|
} didClickCancel:^{
|