public void Dispose() { _eventWatcherManager?.Stop(); _requestEvaluatorManager?.Stop(); _persistence.Save(_dataSets); _eventWatcherManager?.Dispose(); _requestEvaluatorManager?.Dispose(); _persistence?.Dispose(); }
public void IterationCleanup() { if (useLargeData) { largePersistence?.Clear(); largePersistence?.Dispose(); } else { smallPersistence?.Clear(); smallPersistence?.Dispose(); } }