Bug 1569676 - Make new performance panel's destroy synchronous. r=jdescottes

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

--HG--
extra : moz-landing-system : lando
This commit is contained in:
Alexandre Poirot 2019-08-12 13:47:17 +00:00
parent 110f312141
commit 6bdd13f105

View File

@ -45,7 +45,7 @@ class PerformancePanel {
return this.toolbox.target;
}
async destroy() {
destroy() {
// Make sure this panel is not already destroyed.
if (this._destroyed) {
return;