예제 #1
0
        public void Dispose()
        {
            _eventWatcherManager?.Stop();
            _requestEvaluatorManager?.Stop();

            _persistence.Save(_dataSets);

            _eventWatcherManager?.Dispose();
            _requestEvaluatorManager?.Dispose();
            _persistence?.Dispose();
        }
예제 #2
0
 public void IterationCleanup()
 {
     if (useLargeData)
     {
         largePersistence?.Clear();
         largePersistence?.Dispose();
     }
     else
     {
         smallPersistence?.Clear();
         smallPersistence?.Dispose();
     }
 }