Use using with TestMergeManager instance

This commit is contained in:
Cyberboss
2017-11-11 17:48:57 -05:00
parent 09d3e23a3a
commit 42a429c3c0
+2 -1
View File
@@ -409,7 +409,8 @@ namespace TGControlPanel
/// <param name="e">The <see cref="EventArgs"/></param>
void TestmergeButton_Click(object sender, System.EventArgs e)
{
new TestMergeManager(Interface).ShowDialog();
using (var TMM = new TestMergeManager(Interface))
TMM.ShowDialog();
LoadServerPage();
}