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
commit abf12a9a1b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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)