public async Task OneTimeTearDownAsync() { m_session.Close(); m_session.Dispose(); m_session = null; await m_serverFixture.StopAsync().ConfigureAwait(false); await Task.Delay(1000).ConfigureAwait(false); }
public async Task OneTimeTearDownAsync() { if (m_session != null) { m_session.Close(); m_session.Dispose(); m_session = null; } await m_serverFixture.StopAsync().ConfigureAwait(false); }
/// <summary> /// Tear down the Server and the Client. /// </summary> public async Task OneTimeTearDownAsync() { if (Session != null) { Session.Close(); Session.Dispose(); Session = null; } if (ServerFixture != null) { await ServerFixture.StopAsync().ConfigureAwait(false); await Task.Delay(100).ConfigureAwait(false); } }
public async Task OneTimeTearDownAsync() { await m_serverFixture.StopAsync().ConfigureAwait(false); await Task.Delay(1000).ConfigureAwait(false); }