Comments Panel: probably fixed a possible crash when UpdateList() is triggered during map unloading.

This commit is contained in:
MaxED 2014-09-11 17:37:20 +00:00
parent 22c5d6c0b7
commit d916e54686

View file

@ -77,8 +77,8 @@ namespace CodeImp.DoomBuilder.CommentsPanel
}
}
// This is called after a map has been closed
public override void OnMapCloseEnd()
// Occurs before the map is closed
public override void OnMapCloseBegin()
{
// If we have a Comments panel, remove it
if(dockerpanel != null)