public void Dispose() { var outstanding = _outstandingJobs.ToArray(); foreach (var job in outstanding) { job.Cancel(); } _outstandingJobs.ClearAll(); }
public void ClearAll() { _histories.ClearAll(); _all.Clear(); }
public void Dispose() { var outstanding = _outstandingJobs.ToArray(); foreach (var job in outstanding) { job.Cancel(); } _outstandingJobs.ClearAll(); }
public void ClearAll() { _histories.ClearAll(); _all.Clear(); }