diff --git a/netwerk/protocol/http/nsHttpPipeline.cpp b/netwerk/protocol/http/nsHttpPipeline.cpp index da1a4f9376b2..98b6f0018d18 100644 --- a/netwerk/protocol/http/nsHttpPipeline.cpp +++ b/netwerk/protocol/http/nsHttpPipeline.cpp @@ -534,7 +534,9 @@ nsHttpPipeline::Close(nsresult reason) mResponseQ.Clear(); } - // we must no longer reference the connection! + // we must no longer reference the connection! This needs to come + // after we've closed all our transactions, since they might want + // connection info as they close. NS_IF_RELEASE(mConnection); }