1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-12 18:23:04 +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,10 +313,14 @@ namespace osu.Game.Tests.NonVisual
{ {
base.Dispose(isDisposing); base.Dispose(isDisposing);
try
{
// the storage may have changed from the initial location. // the storage may have changed from the initial location.
// this handles cleanup of the initial location. // this handles cleanup of the initial location.
InitialStorage.DeleteDirectory(string.Empty); InitialStorage.DeleteDirectory(string.Empty);
} }
catch { }
}
} }
} }
} }