private void Form1_FormClosing(object sender, FormClosingEventArgs e) { Client.Dispose(); Client = null; appClient.Dispose(); appClient = null; }
public void TearDown() { Server.Dispose(); Server = null; Client.Dispose(); Client = null; Debug.WriteLine("Fixture Tear Down Completed."); }
public void TearDown() { Server.Stop(); Server.Dispose(); Client.Dispose(); }
public void Cleanup() { Server.Dispose(); Client.Dispose(); Tcp.Dispose(); }
private void MainForm_FormClosing(object sender, FormClosingEventArgs e) { ptrClient = null; AppClient.Dispose(); AppClient = null; TcpClient.Dispose(); TcpClient = null; }
private void MainForm_FormClosing(object sender, FormClosingEventArgs e) { Client.Dispose(); Client = null; }