|
|
@@ -124,11 +124,15 @@ static MOMinimizeManager *_manager;
|
|
|
}
|
|
|
|
|
|
- (void)closeAll {
|
|
|
+ if (!_minimizeView) {
|
|
|
+ return;
|
|
|
+ }
|
|
|
[self closeMinimizeView];
|
|
|
dispatch_async(dispatch_get_global_queue(0, 0), ^{
|
|
|
[self closeAgoraRoom];
|
|
|
});
|
|
|
[NSObject cancelPreviousPerformRequestsWithTarget:self];
|
|
|
+ self.closeTheMiniViewBlock ? self.closeTheMiniViewBlock() : nil;
|
|
|
}
|
|
|
|
|
|
- (void)setRtcBlock{
|
|
|
@@ -313,8 +317,6 @@ static MOMinimizeManager *_manager;
|
|
|
return;
|
|
|
}
|
|
|
|
|
|
- self.closeTheMiniViewBlock ? self.closeTheMiniViewBlock() : nil;
|
|
|
-
|
|
|
[[MOShowAgoraKitManager shareManager].exitFailedArr removeAllObjects];
|
|
|
|
|
|
NSInteger agoraId = GetAgoraId;
|