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

Unified Diff: third_party/WebKit/Source/devtools/front_end/bindings/NetworkProject.js

Issue 2298473003: DevTools: do not leak memory through event listeners (Closed)
Patch Set: cleanup - some clients have being cleaning event listeners Created 4 years, 4 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/devtools/front_end/common/Object.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/devtools/front_end/bindings/NetworkProject.js
diff --git a/third_party/WebKit/Source/devtools/front_end/bindings/NetworkProject.js b/third_party/WebKit/Source/devtools/front_end/bindings/NetworkProject.js
index 8b15f9f4ab053fe1304a81936ff5b95a4c5d2f8e..5546b92f8be5cc07b162dd3d0e3ed2353c471e62 100644
--- a/third_party/WebKit/Source/devtools/front_end/bindings/NetworkProject.js
+++ b/third_party/WebKit/Source/devtools/front_end/bindings/NetworkProject.js
@@ -400,7 +400,6 @@ WebInspector.NetworkProject.prototype = {
{
this._reset();
WebInspector.EventTarget.removeEventListeners(this._eventListeners);
- this._eventListeners = [];
delete this.target()[WebInspector.NetworkProject._networkProjectSymbol];
},
« no previous file with comments | « no previous file | third_party/WebKit/Source/devtools/front_end/common/Object.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698