Skip to content

Commit

Permalink
Ensure content is stopped during video player cleanup.
Browse files Browse the repository at this point in the history
  • Loading branch information
alex-signal committed Oct 24, 2022
1 parent 91f0b75 commit 94f072c
Showing 1 changed file with 2 additions and 0 deletions.
Expand Up @@ -234,6 +234,8 @@ public void stop() {
}

public void cleanup() {
stop();

if (this.exoPlayer != null) {
exoView.setPlayer(null);
exoControls.setPlayer(null);
Expand Down

0 comments on commit 94f072c

Please sign in to comment.