Skip to content

Commit

Permalink
Auto merge of #12847 - Veykril:vscode-downgrade, r=Veykril
Browse files Browse the repository at this point in the history
fix: Fix restart server duplicating language clients

Reverts 03a62c1
vscode-languageclient@8.0.0-next.15 and beyond changed the behaviour of language clients to be automatically started if a request comes in while they are not running. Currently when we restart the server via the restart command we recreate the language client, which causes VSCode to restart the stopped server, effectively duplicating our language clients...

Reverting the commit is simpler right now, the proper fix would be to only create a language client once and then use the `restart` functionality on it instead.

Fixes #12836
  • Loading branch information
bors committed Jul 22, 2022
2 parents d469e0d + f1b5e38 commit 8272d2a
Show file tree
Hide file tree
Showing 4 changed files with 30 additions and 3,983 deletions.
Loading

0 comments on commit 8272d2a

Please sign in to comment.