Skip to content
This repository was archived by the owner on Dec 25, 2023. It is now read-only.

Commit 9d2f907

Browse files
committed
Stop language client after disposing
I think this may fix an issue where the "TypeScript Language Server stopped unexpectedly" message is shown when it shouldn't. It's not testable locally apparently - I submitted feedback to Panic about this.
1 parent 4c14fa7 commit 9d2f907

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/main.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -293,6 +293,7 @@ export function activate() {
293293
}
294294

295295
export function deactivate() {
296-
client?.stop();
296+
console.log("deactivate");
297297
compositeDisposable.dispose();
298+
client?.stop();
298299
}

0 commit comments

Comments
 (0)