mirror of
https://github.com/osukey/osukey.git
synced 2025-08-08 00:53:56 +09:00
Also clear event on dispose
This commit is contained in:
@ -162,6 +162,8 @@ namespace osu.Game.Configuration
|
|||||||
|
|
||||||
public void Dispose()
|
public void Dispose()
|
||||||
{
|
{
|
||||||
|
SettingChanged = null;
|
||||||
|
|
||||||
foreach (var r in references)
|
foreach (var r in references)
|
||||||
r.Dispose();
|
r.Dispose();
|
||||||
references.Clear();
|
references.Clear();
|
||||||
|
Reference in New Issue
Block a user