Ejemplo n.º 1
0
 public async Task DisconnectAsync()
 {
     if (_channel != null)
     {
         await _channelFactory.DisposeAsync(_channel);
     }
 }
 public async Task DisconnectAsync()
 {
     _cts.Cancel();
     _call?.Dispose();
     if (_channel != null)
     {
         await _channelFactory.DisposeAsync(_channel);
     }
 }