gecko-dev/devtools
Nicolas Chevobbe b4de2bd22f Bug 1579422 - Disconnect FilterBar resize observer when observed node is disconnected. r=jdescottes.
Since we don't properly unmount the Console React app,
FilterBar's componentWillUnmount is never called.
This was where we planned to disconnect the resize observer,
but it was in fact never called.
So what we do in this patch instead is in the resize observer
callback, check if the observed node is connected, and if
it's not, we disconnect the resize observer.

This prevent the console from dispatching an action, that
may slow down closing the console.

Differential Revision: https://phabricator.services.mozilla.com/D45006

--HG--
extra : moz-landing-system : lando
2019-09-09 09:05:08 +00:00
..
client Bug 1579422 - Disconnect FilterBar resize observer when observed node is disconnected. r=jdescottes. 2019-09-09 09:05:08 +00:00
docs Bug 1576835 - Update DAMP test writing documentation r=ochameau 2019-08-29 06:22:18 +00:00
platform Bug 1561435 - Format remaining devtools/, a=automatic-formatting, CLOSED TREE 2019-07-05 11:29:32 +02:00
server Bug 1579583 - Restore repaint() manifest handler, r=jlast. 2019-09-07 00:40:27 +00:00
shared Bug 1572933: Introduce an attribute to raise the cache priority. r=pbro,mayhemer 2019-09-09 00:57:05 +00:00
startup Bug 1519586 - Fix js error in browser_aboutdevtools_reuse_existing.js r=ladybenko 2019-09-02 15:22:37 +00:00
.eslintrc.js Bug 1558517 - Pre 3.0: Remove conflicting eslint rules, and turn on "curly: all" everywhere, r=standard8 2019-06-28 17:14:01 +02:00
.eslintrc.mochitests.js
.eslintrc.xpcshell.js
CODE_OF_CONDUCT.md Bug 1527826 - Reflect our github org name change in the m-c code; r=nchevobbe 2019-02-15 09:38:53 +00:00
moz.build
templates.mozbuild