Visplane Explorer: fixed a bug where changing the settings after re-entering the mode would result in a crash. Fixes #624

This commit is contained in:
biwa 2021-10-01 23:38:59 +02:00
parent ff96a669e0
commit d8bd7165a7

View file

@ -330,6 +330,9 @@ namespace CodeImp.DoomBuilder.Plugins.VisplaneExplorer
public override void OnDisengage()
{
CleanUp();
BuilderPlug.InterfaceForm.OnVisplaneSettingsChanged -= OnVisplaneSettingsChanged;
base.OnDisengage();
}