mirror of
https://github.com/recloudstream/cloudstream.git
synced 2024-08-15 01:53:11 +00:00
CS3IPlayer: stop player when releasing (#822)
This commit is contained in:
parent
ff9144ef54
commit
484c21cc1c
1 changed files with 5 additions and 1 deletions
|
@ -499,7 +499,11 @@ class CS3IPlayer : IPlayer {
|
||||||
if (saveTime)
|
if (saveTime)
|
||||||
updatedTime()
|
updatedTime()
|
||||||
|
|
||||||
exoPlayer?.release()
|
exoPlayer?.apply {
|
||||||
|
setPlayWhenReady(false)
|
||||||
|
stop()
|
||||||
|
release()
|
||||||
|
}
|
||||||
//simpleCache?.release()
|
//simpleCache?.release()
|
||||||
currentTextRenderer = null
|
currentTextRenderer = null
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue