Ensure content is stopped during video player cleanup.

fork-5.53.8
Alex Hart 2022-10-24 12:58:53 -03:00
rodzic 91f0b75a80
commit 94f072c5aa
1 zmienionych plików z 2 dodań i 0 usunięć

Wyświetl plik

@ -234,6 +234,8 @@ public class VideoPlayer extends FrameLayout {
}
public void cleanup() {
stop();
if (this.exoPlayer != null) {
exoView.setPlayer(null);
exoControls.setPlayer(null);