mirror of
https://github.com/libre-tube/LibreTube.git
synced 2024-12-13 13:50:30 +05:30
Settings Player Fix
This commit is contained in:
parent
41002a52a1
commit
2b032b3e74
@ -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) {
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user