зеркало из https://github.com/mozilla/gecko-dev.git
b4de2bd22f
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 |
||
---|---|---|
.. | ||
client | ||
docs | ||
platform | ||
server | ||
shared | ||
startup | ||
.eslintrc.js | ||
.eslintrc.mochitests.js | ||
.eslintrc.xpcshell.js | ||
CODE_OF_CONDUCT.md | ||
moz.build | ||
templates.mozbuild |