1
0
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:
Salman Ahmed 2021-06-22 05:05:41 +03:00
parent caa90bccc6
commit ec040ff3fc

View File

@ -101,7 +101,7 @@ namespace osu.Game.Skinning
base.Dispose(isDisposing);
if (skinManager != null)
skinManager.SourceChanged -= UpdateSkins;
skinManager.SourceChanged -= OnSourceChanged;
}
}
}