mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-30 00:01:50 +00:00
Bug 616591. Fix crash due to http transactions trying to get connection info from the http pipeline while it's being closed. r=bzbarsky, a=blocker
This commit is contained in:
parent
954f9e8b74
commit
37984326e6
@ -502,9 +502,6 @@ nsHttpPipeline::Close(nsresult reason)
|
||||
mStatus = reason;
|
||||
mClosed = PR_TRUE;
|
||||
|
||||
// we must no longer reference the connection!
|
||||
NS_IF_RELEASE(mConnection);
|
||||
|
||||
PRUint32 i, count;
|
||||
nsAHttpTransaction *trans;
|
||||
|
||||
@ -536,6 +533,9 @@ nsHttpPipeline::Close(nsresult reason)
|
||||
}
|
||||
mResponseQ.Clear();
|
||||
}
|
||||
|
||||
// we must no longer reference the connection!
|
||||
NS_IF_RELEASE(mConnection);
|
||||
}
|
||||
|
||||
nsresult
|
||||
|
Loading…
Reference in New Issue
Block a user