Backed out changeset fc5c57e9b65b (bug 1484595) for linting failure on a CLOSED TREE

This commit is contained in:
shindli 2018-08-20 10:38:08 +03:00
parent e49362f677
commit 1272692819

View file

@ -126,8 +126,8 @@ class MenuButton extends PureComponent {
// Mark the menu as closed since the onHidden callback may not be called in
// this case.
this.setState({ expanded: false });
this.tooltip.off("hidden", this.onHidden);
this.tooltip.destroy();
this.tooltip.off("hidden", this.onHidden);
this.tooltip = null;
}