summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--net/spdy/spdy_session_pool.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/net/spdy/spdy_session_pool.cc b/net/spdy/spdy_session_pool.cc
index 5cfd62c..1a1141f 100644
--- a/net/spdy/spdy_session_pool.cc
+++ b/net/spdy/spdy_session_pool.cc
@@ -65,7 +65,8 @@ bool SpdySessionPool::HasSession(const HostPortPair& host_port_pair) const {
void SpdySessionPool::Remove(const scoped_refptr<SpdySession>& session) {
SpdySessionList* list = GetSessionList(session->host_port_pair());
- CHECK(list);
+ if (!list)
+ return;
list->remove(session);
if (list->empty())
RemoveSessionList(session->host_port_pair());