private void Form1_FormClosing(object sender, FormClosingEventArgs e) { Server.Stop(); Server.Dispose(); AppServer.Stop(); AppServer.Dispose(); }
public void TearDown() { Server.Stop(); Server.Dispose(); Client.Dispose(); }