mirror of
https://github.com/osukey/osukey.git
synced 2025-08-06 16:13:57 +09:00
Fix leak due to not properly unbinding SourceChanged
event on disposal
This commit is contained in:
@ -101,7 +101,7 @@ namespace osu.Game.Skinning
|
|||||||
base.Dispose(isDisposing);
|
base.Dispose(isDisposing);
|
||||||
|
|
||||||
if (skinManager != null)
|
if (skinManager != null)
|
||||||
skinManager.SourceChanged -= UpdateSkins;
|
skinManager.SourceChanged -= OnSourceChanged;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user