internal void CleanupServer() { try { _queueProcessMonitor.Shutdown(); _hangfireServerMonitor.Shutdown(); if (_startWebServer != null) { _startWebServer.Dispose(); _startWebServer = null; } if (_ipcClient != null) { _ipcClient.Dispose(); _ipcClient = null; } DebugDispatcher.Instance.Shutdown(); } catch (Exception ex) { Dev2Logger.Error("Dev2.ServerLifecycleManager", ex, GlobalConstants.WarewolfError); } }
public void Dispose() { _ipcClient?.Dispose(); _semConnecting?.Dispose(); }