/// ------------------------------------------------------------------------------------ public void Dispose() { _scope.Dispose(); _scope = null; if (_httpServer != null) { _httpServer.Dispose(); } _httpServer = null; }
public void Teardown() { _server.Dispose(); _server = null; Monitor.Exit(_portMonitor); }
public void TearDown() { _server.Dispose(); _server = null; }