| Index: net/quic/quic_client_session.cc
|
| diff --git a/net/quic/quic_client_session.cc b/net/quic/quic_client_session.cc
|
| index 1e51f0daf4ab1ae9c240832056f887417ac85e88..98d5f27320ffe3b4e56323b3f262f042a6484e1d 100644
|
| --- a/net/quic/quic_client_session.cc
|
| +++ b/net/quic/quic_client_session.cc
|
| @@ -618,7 +618,8 @@ void QuicClientSession::CloseSessionOnErrorInner(int net_error,
|
| NetLog::TYPE_QUIC_SESSION_CLOSE_ON_ERROR,
|
| NetLog::IntegerCallback("net_error", net_error));
|
|
|
| - connection()->CloseConnection(quic_error, false);
|
| + if (connection()->connected())
|
| + connection()->CloseConnection(quic_error, false);
|
| DCHECK(!connection()->connected());
|
| }
|
|
|
|
|