mirror of
https://github.com/ppy/osu.git
synced 2024-11-11 13:37:25 +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()
|
||||
{
|
||||
SettingChanged = null;
|
||||
|
||||
foreach (var r in references)
|
||||
r.Dispose();
|
||||
references.Clear();
|
||||
|
Loading…
Reference in New Issue
Block a user