Fix crash when selecting mods after entering play mode

Closes #3260.
This commit is contained in:
Dean Herbert 2018-08-21 00:15:51 +09:00
parent 0501d58f70
commit 4a68b14447
1 changed files with 6 additions and 0 deletions

View File

@ -63,6 +63,12 @@ public ModDisplay()
};
}
protected override void Dispose(bool isDisposing)
{
base.Dispose(isDisposing);
mods.UnbindAll();
}
protected override void LoadComplete()
{
base.LoadComplete();