mirror of
https://github.com/ppy/osu.git
synced 2025-03-14 05:47:20 +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…
x
Reference in New Issue
Block a user