Exemple #1
0
 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();
     }
 }
Exemple #2
0
 public void Dispose()
 {
     _log.Close();
     if (!string.IsNullOrEmpty(_tempFile) && System.IO.File.Exists(_tempFile))
     {
         System.IO.File.Delete(_tempFile);
     }
 }
Exemple #3
0
 public void Dispose()
 {
     if (_msgWatcher != null)
     {
         _msgWatcher.Halt();
     }
     if (_log != null)
     {
         _log.Close();
     }
     _msgWatcher = null;
     _log        = null;
 }
Exemple #4
0
 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();
 }
Exemple #6
0
 public void Dispose()
 {
     _logDB.Close();
     _jobDB.Close();
 }
Exemple #7
0
 public void Dispose()
 {
     _insp.Close();
 }