Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Wait for treeViewOpenPromise to resolve before deactivating Tree View #1211
Description of the Change
This ensures that the Tree View doesn't randomly pop up in a half-broken state after disabling the package.
An edge-case with deactivation will be fixed, and no longer will people wonder why a Tree View is still open even though they disabled the package.
Deactivation will occasionally take longer if the open promise takes a long time to resolve. Since this is async things shouldn't really matter.