mirror of
https://github.com/ppy/osu.git
synced 2025-01-13 14:52:57 +08:00
Merge pull request #4348 from smoogipoo/fix-nasty-unbind
Clear delegate list rather than relying on unbinds
This commit is contained in:
commit
abf12a9a1b
@ -89,6 +89,9 @@ namespace osu.Game.Skinning
|
|||||||
|
|
||||||
protected override void Dispose(bool isDisposing)
|
protected override void Dispose(bool isDisposing)
|
||||||
{
|
{
|
||||||
|
// Must be done before base.Dispose()
|
||||||
|
SourceChanged = null;
|
||||||
|
|
||||||
base.Dispose(isDisposing);
|
base.Dispose(isDisposing);
|
||||||
|
|
||||||
if (fallbackSource != null)
|
if (fallbackSource != null)
|
||||||
|
Loading…
Reference in New Issue
Block a user