зеркало из https://github.com/mozilla/pjs.git
Bug 538724 Firefox 3.6.x + winxp topcrash starting ~Dec 30 and increasing [@ nsHttpTransaction::DeleteSelfOnConsumerThread() ]
r=biesi
This commit is contained in:
Родитель
02d0549b64
Коммит
fbda4a0016
|
@ -1239,9 +1239,10 @@ nsHttpTransaction::DeleteSelfOnConsumerThread()
|
|||
LOG(("nsHttpTransaction::DeleteSelfOnConsumerThread [this=%x]\n", this));
|
||||
|
||||
PRBool val;
|
||||
if (NS_SUCCEEDED(mConsumerTarget->IsOnCurrentThread(&val)) && val)
|
||||
if (!mConsumerTarget ||
|
||||
(NS_SUCCEEDED(mConsumerTarget->IsOnCurrentThread(&val)) && val)) {
|
||||
delete this;
|
||||
else {
|
||||
} else {
|
||||
LOG(("proxying delete to consumer thread...\n"));
|
||||
nsCOMPtr<nsIRunnable> event = new nsDeleteHttpTransaction(this);
|
||||
if (NS_FAILED(mConsumerTarget->Dispatch(event, NS_DISPATCH_NORMAL)))
|
||||
|
|
Загрузка…
Ссылка в новой задаче