The doc loader should release the underlying channel once the channel issues a OnStopRequest. This allows the

channel to go away after we load the url instead of making it stick around until the next url comes in (that's
when we used to get rid of the previous channel).
r=rpotts.
This commit is contained in:
mscott%netscape.com 1999-09-21 05:36:49 +00:00
Родитель cf1f75a408
Коммит f4d75a8c84
2 изменённых файлов: 4 добавлений и 0 удалений

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

@ -744,6 +744,8 @@ nsDocLoaderImpl::OnStopRequest(nsIChannel *channel, nsISupports *ctxt,
mIsLoadingDocument = PR_FALSE;
FireOnEndDocumentLoad(this, status);
}
mDocumentChannel = null_nsCOMPtr();
return NS_OK;
}

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

@ -744,6 +744,8 @@ nsDocLoaderImpl::OnStopRequest(nsIChannel *channel, nsISupports *ctxt,
mIsLoadingDocument = PR_FALSE;
FireOnEndDocumentLoad(this, status);
}
mDocumentChannel = null_nsCOMPtr();
return NS_OK;
}