1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-15 05:02:55 +08:00

Fix tests not ending execution after some exceptions

This commit is contained in:
Dean Herbert 2019-06-03 16:41:27 +09:00
parent 1c96e7593a
commit 491c9e96e0

View File

@ -61,7 +61,8 @@ namespace osu.Game.Tests.Visual
{
base.Dispose(isDisposing);
beatmap?.Value.Track.Stop();
if (beatmap?.Value.TrackLoaded == true)
beatmap.Value.Track.Stop();
if (localStorage.IsValueCreated)
{