about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2022-07-22 22:18:05 +0000
committerbors <bors@rust-lang.org>2022-07-22 22:18:05 +0000
commit8272d2a18dff6de74a687884fb357490ee29450c (patch)
tree8703262f63dea70244cdaccdf73832b917318ef8 /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
parentd469e0de9acc38b2e63796fb105369e567773cfb (diff)
parentf1b5e3856317a38db996fe3e01b119aa0f2c3144 (diff)
downloadrust-8272d2a18dff6de74a687884fb357490ee29450c.tar.gz
rust-8272d2a18dff6de74a687884fb357490ee29450c.zip
Auto merge of #12847 - Veykril:vscode-downgrade, r=Veykril
fix: Fix restart server duplicating language clients

Reverts 03a62c180e6a7300d0d7b8c4d680b749c101bcbb
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 https://github.com/rust-lang/rust-analyzer/issues/12836
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions