public void Dispose() { if (_disposed) { return; } _disposed = true; _logTimer.LogsProcessed -= OnLogsProcessed; if (_logTimer != null) { _logTimer.Halt(); } if (_jobDB != null) { _jobDB.Close(); } if (_log != null) { _log.Close(); } if (_status != null) { _status.Close(); } if (_makinoDB != null) { _makinoDB.Close(); } }
public void Dispose() { _log.Close(); if (!string.IsNullOrEmpty(_tempFile) && System.IO.File.Exists(_tempFile)) { System.IO.File.Delete(_tempFile); } }
public void Dispose() { if (_msgWatcher != null) { _msgWatcher.Halt(); } if (_log != null) { _log.Close(); } _msgWatcher = null; _log = null; }
public void Dispose() { if (_disposed) { return; } _disposed = true; logDataLoader.NewEntries -= OnNewLogEntries; if (loadOper != null) { loadOper.LoadActions -= OnLoadActions; } routing.Halt(); hold.Shutdown(); logDataLoader.Halt(); if (loadOper != null) { loadOper.Halt(); } jobDB.Close(); jobLog.Close(); }
public void Dispose() { _emptyLog.Close(); _jobDB.Close(); }
public void Dispose() { _logDB.Close(); _jobDB.Close(); }
public void Dispose() { _insp.Close(); }