зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1729925 - [devtools] Avoid leaking commands from toolbox. r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D125541
This commit is contained in:
Родитель
fc03df6b69
Коммит
a28cc00244
|
@ -3876,6 +3876,8 @@ Toolbox.prototype = {
|
|||
this._win = null;
|
||||
this._toolPanels.clear();
|
||||
this.descriptorFront = null;
|
||||
this.resourceCommand = null;
|
||||
this.commands = null;
|
||||
|
||||
// Force GC to prevent long GC pauses when running tests and to free up
|
||||
// memory in general when the toolbox is closed.
|
||||
|
|
Загрузка…
Ссылка в новой задаче