From d004eb7e0d69e733dfeedc31e57e0b638d48c6eb 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 c6c633c7504..8366aa9b78f 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")); }, };