mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-21 00:59:49 +01:00
Fix issue where video player is not released by preview fragment.
This commit is contained in:
committed by
Greyson Parrelli
parent
d7f9582bc4
commit
95b0639ab4
@@ -89,6 +89,12 @@ public final class VideoMediaPreviewFragment extends MediaPreviewFragment {
|
||||
return itemView;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onDestroyView() {
|
||||
super.onDestroyView();
|
||||
cleanUp();
|
||||
}
|
||||
|
||||
@Override
|
||||
public void cleanUp() {
|
||||
if (videoView != null) {
|
||||
|
||||
Reference in New Issue
Block a user