public void Dispose() { _cts?.Cancel(); _receiveTask?.Wait(); _transport?.Dispose(); }
public void Dispose() { _cts?.Cancel(); _transport?.Dispose(); }