зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1226185 - Ensure to unmount about:debugging components on tab close. r=janx
This commit is contained in:
Родитель
6de54e2a61
Коммит
5be55f54e9
|
@ -107,6 +107,9 @@ var AboutDebugging = {
|
|||
Services.prefs.removeObserver(pref, listener);
|
||||
});
|
||||
this._prefListeners = [];
|
||||
|
||||
React.unmountComponentAtNode(document.querySelector("#addons"));
|
||||
React.unmountComponentAtNode(document.querySelector("#workers"));
|
||||
},
|
||||
};
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче