-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make executeWorkbench work after VSCode restarts (#106)
* Make executeWorkbench work after VSCode restarts `vscode.openFolder` can be used to restart the VSCode under different workspace root. In that case the current socket is closed, and then the new connection appears after the VSCode is up again. This PR clears pending message callbacks when the connection is closed, and also re-assigns the `_promisedSocket` to a new socket when new connection appears. * Update test/specs/workbench.e2e.ts Co-authored-by: Sean Poulter <[email protected]> * Update test/specs/workbench.e2e.ts Co-authored-by: Sean Poulter <[email protected]> --------- Co-authored-by: Christian Bromann <[email protected]> Co-authored-by: Sean Poulter <[email protected]>
- Loading branch information
1 parent
0fc1795
commit 45de785
Showing
2 changed files
with
23 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters