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
1 changed files with 1 additions and 1 deletions

View File

@ -101,7 +101,7 @@ protected override void Dispose(bool isDisposing)
base.Dispose(isDisposing);
if (skinManager != null)
skinManager.SourceChanged -= UpdateSkins;
skinManager.SourceChanged -= OnSourceChanged;
}
}
}