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:
parent
a5f99ed8e6
commit
268f9d661f
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user