Browse Source

版本升级维护

yyqxiaoyin 5 years atrás
parent
commit
e1f2a04d01
1 changed files with 1 additions and 0 deletions
  1. 1 0
      MKRRadioManager/Classes/MKRRadioManager/MKRAVPlayer/MKRAVPlayer.m

+ 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];