set equalizer to null at releasing of the service
This commit is contained in:
parent
1f0b424a13
commit
b64335fe06
1 changed files with 1 additions and 0 deletions
|
@ -124,6 +124,7 @@ class MusicService : Service(), MediaPlayer.OnPreparedListener, MediaPlayer.OnEr
|
|||
SongsDatabase.destroyInstance()
|
||||
mMediaSession?.isActive = false
|
||||
mEqualizer?.release()
|
||||
mEqualizer = null
|
||||
mSleepTimer?.cancel()
|
||||
config.sleepInTS = 0L
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue