Merge pull request #4348 from smoogipoo/fix-nasty-unbind

Clear delegate list rather than relying on unbinds
This commit is contained in:
Dean Herbert
2019-02-27 21:54:39 +09:00
committed by GitHub

View File

@ -89,6 +89,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)