bug 743587 Intermittent Linux talos crash [@ nsHttpConnection::CloseTransaction] r=honzab

This commit is contained in:
Patrick McManus 2012-04-11 13:11:10 -04:00
Родитель c222fd8c31
Коммит 8bc7fbfd43
1 изменённых файлов: 5 добавлений и 3 удалений

Просмотреть файл

@ -1134,10 +1134,12 @@ nsHttpConnection::CloseTransaction(nsAHttpTransaction *trans, nsresult reason)
mSpdySession = nsnull;
}
mHttp1xTransactionCount += mTransaction->Http1xTransactionCount();
if (mTransaction) {
mHttp1xTransactionCount += mTransaction->Http1xTransactionCount();
mTransaction->Close(reason);
mTransaction = nsnull;
mTransaction->Close(reason);
mTransaction = nsnull;
}
if (mCallbacks) {
nsIInterfaceRequestor *cbs = nsnull;