зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1567167 - Remove clearNetworkRequests from JsTerm destroy function. r=jdescottes.
This shouldn't be JSTerm's responsability to call this function. Furthermore, the function clear some references in the WebConsoleFront, which are going to be destroyed anyway. Differential Revision: https://phabricator.services.mozilla.com/D38614 --HG-- extra : moz-landing-system : lando
This commit is contained in:
Родитель
d551082a54
Коммит
f65992235e
|
@ -1744,7 +1744,6 @@ class JSTerm extends Component {
|
||||||
}
|
}
|
||||||
|
|
||||||
destroy() {
|
destroy() {
|
||||||
this.webConsoleClient.clearNetworkRequests();
|
|
||||||
if (this.webConsoleUI.outputNode) {
|
if (this.webConsoleUI.outputNode) {
|
||||||
// We do this because it's much faster than letting React handle the ConsoleOutput
|
// We do this because it's much faster than letting React handle the ConsoleOutput
|
||||||
// unmounting.
|
// unmounting.
|
||||||
|
|
Загрузка…
Ссылка в новой задаче