Ver código fonte

版本升级维护

yyqxiaoyin 5 anos atrás
pai
commit
e1f2a04d01

+ 1 - 0
MKRRadioManager/Classes/MKRRadioManager/MKRAVPlayer/MKRAVPlayer.m

@@ -272,6 +272,7 @@ NSURL * MKRUrlWithString(NSString *string){
     [self.player pause];
     [self removeNotification];
     [self removePlayerKVO];
+    self.state = MKRAVPlayerStateStopped;
     [[NSNotificationCenter defaultCenter] removeObserver:self
                                                     name:nil
                                                   object:_playerItem];