@ -41,6 +41,7 @@ class HttpReadAloudService : BaseReadAloudService(),
override fun onDestroy() {
super.onDestroy()
job?.cancel()
mediaPlayer.release()
}
@ -48,6 +49,7 @@ class HttpReadAloudService : BaseReadAloudService(),
mediaPlayer.reset()
playingIndex = -1
nowSpeak = 0
super.newReadAloud(dataKey, play)