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

fix: kill rust-analyzer fast without waiting for the close response from #198

Merged
merged 1 commit into from
Jul 21, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -477,8 +477,8 @@ class RustLanguageClient extends AutoLanguageClient {
!filePath.includes('/target/release/')
}

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

async startServerProcess(projectPath) {
if (shouldIgnoreProjectPath(projectPath)) {
Expand Down