fix cache
This commit is contained in:
parent
cd4d17d497
commit
c30eb36854
1 changed files with 1 additions and 1 deletions
|
@ -332,12 +332,12 @@ public class VideoPlayer extends AppCompatActivity {
|
|||
public void onDestroy() {
|
||||
mediaSessionConnector.setPlayer(null);
|
||||
deleteCache(this, standaloneDatabaseProvider);
|
||||
standaloneDatabaseProvider.close();
|
||||
mediaSession.setActive(false);
|
||||
playerNotificationManager.setPlayer(null);
|
||||
player.release();
|
||||
playerView.setPlayer(null);
|
||||
simpleCache.release();
|
||||
standaloneDatabaseProvider.close();
|
||||
super.onDestroy();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue