From ba0db9c3db099b62c17ce7d5d2392de967b8d0d2 Mon Sep 17 00:00:00 2001 From: lishoujun Date: Thu, 3 Jan 2019 09:51:28 +0800 Subject: [PATCH] fix crash --- .../java/net/schueller/peertube/activity/VideoPlayActivity.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/net/schueller/peertube/activity/VideoPlayActivity.java b/app/src/main/java/net/schueller/peertube/activity/VideoPlayActivity.java index 118f175..b747553 100644 --- a/app/src/main/java/net/schueller/peertube/activity/VideoPlayActivity.java +++ b/app/src/main/java/net/schueller/peertube/activity/VideoPlayActivity.java @@ -425,11 +425,11 @@ public class VideoPlayActivity extends AppCompatActivity implements VideoRendere @Override protected void onDestroy() { - super.onDestroy(); simpleExoPlayerView.setPlayer(null); if (torrentStream != null){ torrentStream.stopStream(); } + super.onDestroy(); Log.v(TAG, "onDestroy..."); }