diff options
Diffstat (limited to 'net/socket/client_socket_pool_base.cc')
-rw-r--r-- | net/socket/client_socket_pool_base.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/socket/client_socket_pool_base.cc b/net/socket/client_socket_pool_base.cc index 2a32e4d..0afe53e 100644 --- a/net/socket/client_socket_pool_base.cc +++ b/net/socket/client_socket_pool_base.cc @@ -307,6 +307,7 @@ void ClientSocketPoolBase::OnConnectJobComplete(int result, ConnectJob* job) { RemoveConnectJob(job->key_handle()); if (result != OK) { + DCHECK(!socket.get()); callback->Run(result); // |group| is not necessarily valid after this. // |group| may be invalid after the callback, we need to search // |group_map_| again. |