Beispiel #1
0
        public void Dispose()
        {
            _execution.Dispose();
            _stopped.Dispose();

            if (_ownsScheduler && _taskScheduler is IDisposable disposableScheduler)
            {
                disposableScheduler.Dispose();
            }
        }
 public void Dispose()
 {
     _execution.Dispose();
     _stopped.Dispose();
 }