...
|
...
|
@@ -115,6 +115,15 @@ |
|
|
|
|
|
}
|
|
|
|
|
|
- (void)resetAfterPushEnd {
|
|
|
dispatch_async(dispatch_get_main_queue(), ^{
|
|
|
[self.barrageViewController reset];
|
|
|
self.emojiCountLabel.text = @"0";
|
|
|
self.timeLabel.text = @"00:00:00";
|
|
|
self.onlineCountLabel.text = @"0";
|
|
|
});
|
|
|
}
|
|
|
|
|
|
- (YH_BarrageViewController *) barrageViewController
|
|
|
{
|
|
|
if (_barrageViewController == nil) {
|
...
|
...
|
@@ -545,6 +554,7 @@ |
|
|
|
|
|
[[YH_NetworkAdapter adapter] setStatusWithStat:PushStatusEnd andRoomId:_currentChannel.room completion:^(BOOL flag, NSError *error) {
|
|
|
_currentChannel = nil;
|
|
|
[self resetAfterPushEnd];
|
|
|
}];
|
|
|
[_socketService logout];
|
|
|
_socketService=nil;
|
...
|
...
|
|