Example #1
0
        public void Stop()
        {
            _consolidatingFileSystemMonitor.Stop();

            try
            {
                _scheduler.AwaitAll();
            }
            catch (Exception e)
            {
                Logger.FatalFormat(e, "Error occured while waiting for pending tasks");
            }
        }
 public void TearDown()
 {
     _monitor.Stop();
     _monitor.Dispose();
 }