From f65992235ef519868825888545b3ed1becf39e1e Mon Sep 17 00:00:00 2001 From: Nicolas Chevobbe Date: Fri, 19 Jul 2019 08:28:48 +0000 Subject: [PATCH] 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 --- devtools/client/webconsole/components/Input/JSTerm.js | 1 - 1 file changed, 1 deletion(-) diff --git a/devtools/client/webconsole/components/Input/JSTerm.js b/devtools/client/webconsole/components/Input/JSTerm.js index 0cf891115825..217ab5371c31 100644 --- a/devtools/client/webconsole/components/Input/JSTerm.js +++ b/devtools/client/webconsole/components/Input/JSTerm.js @@ -1744,7 +1744,6 @@ class JSTerm extends Component { } destroy() { - this.webConsoleClient.clearNetworkRequests(); if (this.webConsoleUI.outputNode) { // We do this because it's much faster than letting React handle the ConsoleOutput // unmounting.