Fix DisposeTrack and improve AsyncLazy to support disposal

This commit is contained in:
Dean Herbert
2017-11-30 05:05:07 +09:00
parent dddd432dc8
commit d402222f17
2 changed files with 56 additions and 9 deletions

View File

@ -154,7 +154,7 @@ namespace osu.Game
Debug.Assert(lastBeatmap != null);
Debug.Assert(lastBeatmap.Track != null);
lastBeatmap.DisposeTrack();
lastBeatmap.RecycleTrack();
}
Audio.Track.AddItem(b.Track);