public void Teardown() { _cStoreServer.Stop(); _cEchoServer.Stop(); _cStoreServer.Dispose(); _cEchoServer.Dispose(); }
public void StopServer() { if (IsListening()) { defaultServer.Stop(); defaultServer.Dispose(); } }
public static void Stop() { isRunning = false; Console.WriteLine("CStoreProssesor is trying to stop..."); server.Stop(); server.Dispose(); Console.WriteLine("CStoreProssesor Stopped!"); }
/// <summary> /// Disposes of the current dicom server instance. /// </summary> private void DisposeDicomServer() { if (_dicomServer != null) { _dicomServer.Stop(); //_dicomServer.BackgroundWorker.Wait(); _dicomServer.Dispose(); _dicomServer = null; } }
public static void Stop() { _server.Dispose(); }
public void GlobalCleanup() { _server.Dispose(); }
public static void Stop() { _itemsLoaderTimer?.Dispose(); _server.Dispose(); }