예제 #1
0
        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);
            }
        }
예제 #2
0
 public void Dispose()
 {
     _ipcClient?.Dispose();
     _semConnecting?.Dispose();
 }