void Dispose(bool disposing) { if (_disposed) { return; } if (disposing) { _transport.Dispose(); _transport = null; _errorTransport.Dispose(); _errorTransport = null; } _disposed = true; }
void Dispose(bool disposing) { if (_disposed) { return; } if (disposing) { if (_inbound != null) { _inbound.Dispose(); _inbound = null; } if (_outbound != null) { _outbound.Dispose(); _outbound = null; } } _disposed = true; }