Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(930)

Unified Diff: third_party/WebKit/Source/modules/fetch/FetchManager.cpp

Issue 2649323005: Cleanly detach XHR and other pending loader clients from Inspector. (Closed)
Patch Set: detach all loader clients from inspector Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/modules/fetch/FetchManager.cpp
diff --git a/third_party/WebKit/Source/modules/fetch/FetchManager.cpp b/third_party/WebKit/Source/modules/fetch/FetchManager.cpp
index 6da72cf763bc8e8dca39aee571e155ece6eed0cd..3375587e49c98f8f2b165ed6c6ad7f86a7963d47 100644
--- a/third_party/WebKit/Source/modules/fetch/FetchManager.cpp
+++ b/third_party/WebKit/Source/modules/fetch/FetchManager.cpp
@@ -676,6 +676,7 @@ void FetchManager::Loader::start() {
}
void FetchManager::Loader::dispose() {
+ InspectorInstrumentation::detachClientRequest(m_executionContext, this);
// Prevent notification
m_fetchManager = nullptr;
if (m_loader) {

Powered by Google App Engine
This is Rietveld 408576698