diff options
Diffstat (limited to 'net/spdy/spdy_session_unittest.cc')
-rw-r--r-- | net/spdy/spdy_session_unittest.cc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/net/spdy/spdy_session_unittest.cc b/net/spdy/spdy_session_unittest.cc index 2dd0820..4e95263 100644 --- a/net/spdy/spdy_session_unittest.cc +++ b/net/spdy/spdy_session_unittest.cc @@ -138,7 +138,12 @@ TEST_F(SpdySessionTest, GoAway) { scoped_refptr<SpdySession> session2 = spdy_session_pool->Get(test_host_port_pair, http_session.get()); + // Delete the first session. session = NULL; + + // Delete the second session. + spdy_session_pool->Remove(session2); + session2 = NULL; } } // namespace |