Skip to content
This repository was archived by the owner on Mar 19, 2024. It is now read-only.

Commit 9755aab

Browse files
authored
Merge pull request #198 from rust-lang/fast-kill
fix: kill rust-analyzer fast without waiting for the close response from
2 parents fec23ee + 3c8803e commit 9755aab

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/index.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -477,8 +477,8 @@ class RustLanguageClient extends AutoLanguageClient {
477477
!filePath.includes('/target/release/')
478478
}
479479

480-
// Killing servers is faster and less likely to get stuck, but let's see if rust-analyzer deserves grace...
481-
shutdownGracefully = true
480+
// Kill servers fast (#196)
481+
shutdownGracefully = false
482482

483483
async startServerProcess(projectPath) {
484484
if (shouldIgnoreProjectPath(projectPath)) {

0 commit comments

Comments
 (0)