Merge pull request #785 from TomHennen/unregister_receivers

unregister recivers
This commit is contained in:
Tom Hennen 2015-05-02 21:56:14 -04:00
commit b492fc9bff
1 changed files with 2 additions and 0 deletions

View File

@ -254,6 +254,8 @@ public class PlaybackService extends Service {
unregisterReceiver(bluetoothStateUpdated);
unregisterReceiver(audioBecomingNoisy);
unregisterReceiver(skipCurrentEpisodeReceiver);
unregisterReceiver(pausePlayCurrentEpisodeReceiver);
unregisterReceiver(pauseResumeCurrentEpisodeReceiver);
mediaPlayer.shutdown();
taskManager.shutdown();
}