mirror of
https://github.com/osukey/osukey.git
synced 2025-05-30 01:47:30 +09: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);
|
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
|
private static readonly BeatmapSetInfo beatmap_set = new BeatmapSetInfo
|
||||||
{
|
{
|
||||||
OnlineInfo = new BeatmapSetOnlineInfo
|
OnlineInfo = new BeatmapSetOnlineInfo
|
||||||
|
Loading…
x
Reference in New Issue
Block a user