mirror of
https://github.com/microsoft/vscode.git
synced 2026-05-23 16:49:50 +01:00
7e805145f7
* remote: gracefully disconnect from remote EH
Addresses https://github.com/microsoft/vscode/issues/211462#issuecomment-2245716115
This applies the same fix seen in #218972 to the extension host. It adds
a `disconnect` method that is called and awaited during the lifecycle
shutdown, which is implemented by th remote extension host connection.
The disconnection is awaited, but I think this is safe because it only
awaits `.drain()` and does so in the context of methods which were
already async at higher levels.
* fix tests
* Revert "cli: honor --connection-token-file in serve-web (#219041)"
This reverts commit d8ddc28be0. That
commit was incorrectly merged in the branch.