mirror of
https://github.com/signalapp/Signal-Android.git
synced 2025-12-24 04:58:45 +00:00
Ensure content is stopped during video player cleanup.
This commit is contained in:
@@ -234,6 +234,8 @@ public class VideoPlayer extends FrameLayout {
|
||||
}
|
||||
|
||||
public void cleanup() {
|
||||
stop();
|
||||
|
||||
if (this.exoPlayer != null) {
|
||||
exoView.setPlayer(null);
|
||||
exoControls.setPlayer(null);
|
||||
|
||||
Reference in New Issue
Block a user