commit
32c46319a0
@ -425,11 +425,11 @@ public class VideoPlayActivity extends AppCompatActivity implements VideoRendere
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
protected void onDestroy() {
|
protected void onDestroy() {
|
||||||
super.onDestroy();
|
|
||||||
simpleExoPlayerView.setPlayer(null);
|
simpleExoPlayerView.setPlayer(null);
|
||||||
if (torrentStream != null){
|
if (torrentStream != null){
|
||||||
torrentStream.stopStream();
|
torrentStream.stopStream();
|
||||||
}
|
}
|
||||||
|
super.onDestroy();
|
||||||
Log.v(TAG, "onDestroy...");
|
Log.v(TAG, "onDestroy...");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user