public void Stop() { TraceLog.WriteLineInfo("Record Service stoping..."); if (_tasks != null) { _tasks.Stop(); _tasks = null; } TraceLog.WriteLineInfo("Record Service stoped."); }
public void Stop() { TraceLogger.Instance.WriteLineInfo("Record Service stoping..."); if (_tasks != null) { _tasks.Stop(); _tasks = null; } TraceLogger.Instance.WriteLineInfo("Record Service stoped."); if (_adminWeb != null) { TraceLogger.Instance.WriteLineInfo("Admin Service is stoping..."); _adminWeb.Stop(); _adminWeb = null; TraceLogger.Instance.WriteLineInfo("Admin Service is stoped."); } }