/// <summary> /// Stop the Windows service /// </summary> protected override void OnStop() { LoggerModule.logger.Info("Stopping HostController"); m_discoveryServiceHost.Dispose(); RoutinesLibrary.Net.WCF.WCFServiceServer.CloseWCFService(ref m_serviceHost); LoggerModule.logger.Info("Stopped HostController"); }
/// <summary> /// Stop the Windows service /// </summary> protected override void OnStop() { LoggerModule.logger.Info(My.Resources.Resources.evStopping); m_discoveryServiceHost.Dispose(); RoutinesLibrary.Net.WCF.WCFServiceServer.CloseWCFService(ref m_serviceHost); DLLConnection.CDLLConnectionController.ReleaseDLL(); LoggerModule.logger.Info(My.Resources.Resources.evStopped); }