1
0
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:
smoogipoo 2021-02-10 19:43:39 +09:00
parent 393cd6c74a
commit 7827e991b2

View File

@ -162,6 +162,8 @@ namespace osu.Game.Configuration
public void Dispose()
{
SettingChanged = null;
foreach (var r in references)
r.Dispose();
references.Clear();