1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-12 16:02:55 +08:00

Add try catch to avoid test failures on windows

This commit is contained in:
Dean Herbert 2021-08-20 22:07:13 +09:00
parent 0aea39f5f1
commit 5e234fb746

View File

@ -313,9 +313,13 @@ namespace osu.Game.Tests.NonVisual
{
base.Dispose(isDisposing);
// the storage may have changed from the initial location.
// this handles cleanup of the initial location.
InitialStorage.DeleteDirectory(string.Empty);
try
{
// the storage may have changed from the initial location.
// this handles cleanup of the initial location.
InitialStorage.DeleteDirectory(string.Empty);
}
catch { }
}
}
}