Settings Player Fix

This commit is contained in:
Bnyro 2022-05-20 16:16:08 +02:00
parent 41002a52a1
commit 2b032b3e74

View File

@ -263,6 +263,7 @@ class PlayerFragment : Fragment() {
}
override fun onStop() {
exoPlayer.release()
super.onStop()
}
@ -270,6 +271,7 @@ class PlayerFragment : Fragment() {
super.onDestroy()
try {
exoPlayer.stop()
exoPlayer.release()
} catch (e: Exception) {
}
}