mirror of
https://github.com/tgstation/tgstation-server.git
synced 2026-08-25 14:06:41 +01:00
Makes ControlPanel.Dispose call Cleanup in main .cs file
This commit is contained in:
Generated
+1
-1
@@ -15,7 +15,7 @@
|
||||
{
|
||||
if (disposing && (components != null))
|
||||
{
|
||||
Interface.Dispose();
|
||||
Cleanup();
|
||||
components.Dispose();
|
||||
}
|
||||
base.Dispose(disposing);
|
||||
|
||||
@@ -36,6 +36,14 @@ namespace TGControlPanel
|
||||
LoadChatPage();
|
||||
InitStaticPage();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Called from <see cref="Dispose(bool)"/>
|
||||
/// </summary>
|
||||
void Cleanup()
|
||||
{
|
||||
Interface.Dispose();
|
||||
}
|
||||
|
||||
private void Main_Resize(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user