1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-26 16:53:20 +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); base.Dispose(isDisposing);
// the storage may have changed from the initial location. try
// this handles cleanup of the initial location. {
InitialStorage.DeleteDirectory(string.Empty); // the storage may have changed from the initial location.
// this handles cleanup of the initial location.
InitialStorage.DeleteDirectory(string.Empty);
}
catch { }
} }
} }
} }