From 5be55f54e9ed6c7f26ef0bd3d604f3555abed2bd Mon Sep 17 00:00:00 2001 From: Alexandre Poirot Date: Wed, 25 Nov 2015 07:54:25 -0800 Subject: [PATCH] Bug 1226185 - Ensure to unmount about:debugging components on tab close. r=janx --- devtools/client/aboutdebugging/aboutdebugging.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/devtools/client/aboutdebugging/aboutdebugging.js b/devtools/client/aboutdebugging/aboutdebugging.js index c6c633c7504d..8366aa9b78f6 100644 --- a/devtools/client/aboutdebugging/aboutdebugging.js +++ b/devtools/client/aboutdebugging/aboutdebugging.js @@ -107,6 +107,9 @@ var AboutDebugging = { Services.prefs.removeObserver(pref, listener); }); this._prefListeners = []; + + React.unmountComponentAtNode(document.querySelector("#addons")); + React.unmountComponentAtNode(document.querySelector("#workers")); }, };