mirror of
https://github.com/ppy/osu.git
synced 2025-01-13 13:32:54 +08:00
Also clear event on dispose
This commit is contained in:
parent
393cd6c74a
commit
7827e991b2
@ -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();
|
||||||
|
Loading…
Reference in New Issue
Block a user