fix BUI close (#5523)

This commit is contained in:
Leon Friedrich
2021-11-26 16:37:18 +13:00
committed by GitHub
parent 86b94afb04
commit 317cc2f8e9
4 changed files with 28 additions and 2 deletions

View File

@@ -38,5 +38,12 @@ namespace Content.Client.Research.UI
if (state is not ResearchClientBoundInterfaceState rState) return;
_menu?.Populate(rState.ServerCount, rState.ServerNames, rState.ServerIds, rState.SelectedServerId);
}
protected override void Dispose(bool disposing)
{
base.Dispose(disposing);
if (!disposing) return;
_menu?.Dispose();
}
}
}