|
|
@@ -363,6 +363,14 @@ ComontAlretViewControllerDelegate>
|
|
|
// 销毁定时器
|
|
|
[self cancelTimer];
|
|
|
|
|
|
+ //清空WebSocket连接
|
|
|
+ [self.commandChannelManager rc_close];
|
|
|
+ [self.businessCommandChannelManager rc_close];
|
|
|
+
|
|
|
+ //globalBlock(^{
|
|
|
+ [self.liveStreamManager rc_release];
|
|
|
+ //});
|
|
|
+
|
|
|
if (USEAAC)
|
|
|
{
|
|
|
if (aacPlayer)
|
|
|
@@ -387,13 +395,6 @@ ComontAlretViewControllerDelegate>
|
|
|
|
|
|
[self removeNSNotification];
|
|
|
|
|
|
- //清空WebSocket连接
|
|
|
- [self.commandChannelManager rc_close];
|
|
|
- [self.businessCommandChannelManager rc_close];
|
|
|
-
|
|
|
- globalBlock(^{
|
|
|
- [self.liveStreamManager rc_release];
|
|
|
- });
|
|
|
|
|
|
if(forceStartTimer){
|
|
|
[forceStartTimer invalidate];
|