We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 31938db + eb32c9f commit ca17481Copy full SHA for ca17481
editors/code/src/ctx.ts
@@ -347,6 +347,8 @@ export class Ctx implements RustAnalyzerExtensionApi {
347
}
348
log.info("Disposing language client");
349
this.updateCommands("disable");
350
+ // we give the server 100ms to stop gracefully
351
+ await this.client?.stop(100).catch((_) => {});
352
await this.disposeClient();
353
354
0 commit comments