public void TearDown() { if (_server != null) { _server.Dispose(); _server = null; } }
/// ------------------------------------------------------------------------------------ public void Dispose() { _scope.Dispose(); _scope = null; if (_bloomServer != null) { _bloomServer.Dispose(); } _bloomServer = null; if (_imageServer != null) { _imageServer.Dispose(); } _imageServer = null; }
public void OneTimeTearDown() { _server?.Dispose(); _server = null; }
public virtual void OneTimeTearDown() { s_testServer.Dispose(); }
public void Teardown() { _server.Dispose(); _server = null; Monitor.Exit(_portMonitor); }