示例#1
0
 public override void Dispose()
 {
     latchSubscription?.Dispose();
     stream?.Unsubscribe();
     latchSubscription = null;
     stream            = null;
     base.Dispose();
 }
 private void UnsubscribeAll()
 {
     _healthCountsStream.Unsubscribe();
     _rollingCommandEventCounterStream.Unsubscribe();
     _cumulativeCommandEventCounterStream.Unsubscribe();
     _rollingCommandLatencyDistributionStream.Unsubscribe();
     _rollingCommandUserLatencyDistributionStream.Unsubscribe();
     _rollingCommandMaxConcurrencyStream.Unsubscribe();
 }
示例#3
0
 public override void Dispose()
 {
     base.Dispose();
     stream.Unsubscribe();
 }