added a few synchronizing points

This commit is contained in:
2018-08-22 19:58:22 -05:00
parent dc4db57281
commit 211e37866e
2 changed files with 8 additions and 5 deletions

View File

@@ -153,6 +153,7 @@ public class MusicController extends Observable implements OnCompletionListener,
musicHeader = null;
if (music != null) {
music.dispose();
music = null;
}
if (currentlyPlayingIndex < 0) {
currentlyPlayingIndex = musicList.getTotal()-1;