fix crash
This commit is contained in:
parent
92396200e2
commit
ba0db9c3db
@ -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...");
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user