Files
firefox/devtools/client/framework/components
Michael Ratcliffe 88579744a5 Bug 1441113 - Can only update a mounted or mounting component when closing Memory Tool r=nchevobbe
The onclick handler of the toolbox close button looked like this... spot the deliberate mistake:

```
onClick: () => {
  closeToolbox();
  focusButton(closeButtonId);
},
```

So we were closing the toolbox and then trying to focus the toolbox's close button.

There is also an obvious race condition with setState inside the toolbox controller not using a callback even though the next line calls a function that uses this.state, which could cause intermittent issues.

MozReview-Commit-ID: 9VRcZw4RvE5
2018-02-26 11:59:23 +00:00
..
…