mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-23 18:26:15 +00:00
5ce0100dcc
The places-tree destructor lacks a `result.removeObserver(this.view);` call before the assignment to `result.root.containerOpen`, which is causing a memory leak. This patch fixes the leak by removing the `result.root.containerOpen` assignment, since the correct logic already exists in the `setTree` method of `PlacesTreeView`, which is called upon `this.view = null;` (XULTreeElement::SetView -> nsTreeBodyFrame::SetView -> setTree). Differential Revision: https://phabricator.services.mozilla.com/D17241 --HG-- extra : moz-landing-system : lando |
||
---|---|---|
.. | ||
content | ||
tests | ||
jar.mn | ||
moz.build | ||
PlacesUIUtils.jsm |