Exemple #1
0
 public void OnCompleted()
 {
     lock (_gate)
     {
         _parent.Done(_index);
     }
 }
Exemple #2
0
 public override void OnCompleted()
 {
     Dispose();
     lock (_gate)
     {
         _parent.Done(_index);
     }
 }
Exemple #3
0
        public void OnCompleted()
        {
            _self.Dispose();

            lock (_gate)
            {
                _parent.Done(_index);
            }
        }