Skip to content

Commit d31ed90

Browse files
Jean-Yves Avenardbgrins
Jean-Yves Avenard
authored andcommitted
Bug 1637869 - P7. Call DisconnectChildListeners when an error occurs. r=mattwoodrow
This will allow the DocumentChannel to be removed from the loading group and the docshell to stop waiting for for the ParentProcessDocumentChannel to do something. Depends on D77201 Differential Revision: https://phabricator.services.mozilla.com/D77202
1 parent 1776921 commit d31ed90

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

netwerk/ipc/DocumentLoadListener.cpp

+1
Original file line numberDiff line numberDiff line change
@@ -805,6 +805,7 @@ void DocumentLoadListener::FinishReplacementChannelSetup(nsresult aResult) {
805805
if (NS_FAILED(aResult)) {
806806
mChannel->Cancel(aResult);
807807
mChannel->Resume();
808+
DisconnectChildListeners(aResult, aResult);
808809
return;
809810
}
810811
ApplyPendingFunctions(mChannel);

0 commit comments

Comments
 (0)