unregister recivers

This commit is contained in:
Tom Hennen 2015-05-02 09:47:15 -04:00
parent 1bd6bf76f6
commit 90afaeb0be
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();
}