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

Commit e39ff2f

Browse files
committed
Kill rls processes instead of awaiting shutdown
1 parent b1bd3c4 commit e39ff2f

File tree

2 files changed

+29
-15
lines changed

2 files changed

+29
-15
lines changed

lib/index.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -646,6 +646,12 @@ class RustLanguageClient extends AutoLanguageClient {
646646
!filePath.includes('/target/release/')
647647
}
648648

649+
// Rls can run a long time before gracefully shutting down, so it's better to
650+
// kill servers as the cargo builds should be kill-safe
651+
shutdownServersGracefully() {
652+
return false
653+
}
654+
649655
serversSupportDefinitionDestinations() {
650656
return true
651657
}

package-lock.json

Lines changed: 23 additions & 15 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)