mirror of
https://github.com/ppy/osu.git
synced 2024-11-11 15:07:44 +08:00
Clear delegate list rather than relying on unbinds
This commit is contained in:
parent
374750eef1
commit
7fa4262207
@ -96,6 +96,9 @@ namespace osu.Game.Skinning
|
||||
|
||||
protected override void Dispose(bool isDisposing)
|
||||
{
|
||||
// Must be done before base.Dispose()
|
||||
SourceChanged = null;
|
||||
|
||||
base.Dispose(isDisposing);
|
||||
|
||||
if (fallbackSource != null)
|
||||
|
Loading…
Reference in New Issue
Block a user