Commit 4cca7d64 authored by Tobias's avatar Tobias Committed by Felix Paul Kühne
Browse files

clean up now playing info center and unsubscribe from remote commands in...

clean up now playing info center and unsubscribe from remote commands in stopPlayback the internal payers are being cleaned up and remote commands would therefore be executed on nil, thats why we don't want to receive them any longer
parent cda7744d
......@@ -384,6 +384,9 @@
if ([self.delegate respondsToSelector:@selector(presentingViewControllerShouldBeClosed:)])
[self.delegate presentingViewControllerShouldBeClosed:self];
[MPNowPlayingInfoCenter defaultCenter].nowPlayingInfo = nil;
[self unsubscribeFromRemoteCommand];
}
- (void)_savePlaybackState
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment