1
0
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:
smoogipoo 2019-02-27 21:04:14 +09:00
parent 374750eef1
commit 7fa4262207

View File

@ -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)