mirror of
https://github.com/ppy/osu.git
synced 2025-03-19 07:07:18 +08:00
Fix leak due to not properly unbinding SourceChanged
event on disposal
This commit is contained in:
parent
caa90bccc6
commit
ec040ff3fc
@ -101,7 +101,7 @@ namespace osu.Game.Skinning
|
||||
base.Dispose(isDisposing);
|
||||
|
||||
if (skinManager != null)
|
||||
skinManager.SourceChanged -= UpdateSkins;
|
||||
skinManager.SourceChanged -= OnSourceChanged;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user