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 6de54e2a61
commit 5be55f54e9

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"));
},
};