Bug 1226185 - Ensure to unmount about:debugging components on tab close. r=janx

This commit is contained in:
Alexandre Poirot 2015-11-25 07:54:25 -08:00
parent e5669aa242
commit d004eb7e0d

View File

@ -107,6 +107,9 @@ var AboutDebugging = {
Services.prefs.removeObserver(pref, listener);
});
this._prefListeners = [];
React.unmountComponentAtNode(document.querySelector("#addons"));
React.unmountComponentAtNode(document.querySelector("#workers"));
},
};