Index: content/child/resource_dispatcher.cc |
diff --git a/content/child/resource_dispatcher.cc b/content/child/resource_dispatcher.cc |
index 0850e44e4564221888ca63fc37943db3f9432126..a81921a888cbf4e0a57eeb88833d79d3a3f6438b 100644 |
--- a/content/child/resource_dispatcher.cc |
+++ b/content/child/resource_dispatcher.cc |
@@ -453,6 +453,10 @@ |
ReleaseResourcesInMessageQueue(&request_info->deferred_message_queue); |
+ // Clear URLLoaderClient to stop receiving further Mojo IPC from the browser |
+ // process. |
+ it->second->url_loader_client = nullptr; |
+ |
// Always delete the pending_request asyncly so that cancelling the request |
// doesn't delete the request context info while its response is still being |
// handled. |