Re-implemented hiding code to perform conditional hiding as a callback of treeViewOpenPromise. This fixes an error where we might have attempted to hide the pane before it existed (usually only happened when Atom was started up with a clean profile).
Alternate Designs
None.
Benefits
Tree-view hiding works even when there are a few timing differences in the pane initialization.
Description of the Change
Re-implemented hiding code to perform conditional hiding as a callback of treeViewOpenPromise. This fixes an error where we might have attempted to hide the pane before it existed (usually only happened when Atom was started up with a clean profile).
Alternate Designs
None.
Benefits
Tree-view hiding works even when there are a few timing differences in the pane initialization.
Possible Drawbacks
None.
Applicable Issues
See comments to atom/tree-view#1389