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

Dispose of local config on disposal

This commit is contained in:
Salman Ahmed 2021-01-13 13:00:14 +03:00
parent a5f99ed8e6
commit 268f9d661f

View File

@ -99,6 +99,12 @@ namespace osu.Game.Tests.Visual.UserInterface
AddAssert("explicit control set to hide", () => control.Explicit.Value == SearchExplicit.Hide);
}
protected override void Dispose(bool isDisposing)
{
localConfig?.Dispose();
base.Dispose(isDisposing);
}
private static readonly BeatmapSetInfo beatmap_set = new BeatmapSetInfo
{
OnlineInfo = new BeatmapSetOnlineInfo