summaryrefslogtreecommitdiffhomepage
path: root/js/src/lsp/client.ts
diff options
context:
space:
mode:
authorDax Raad <[email protected]>2025-05-26 14:52:38 -0400
committerDax Raad <[email protected]>2025-05-26 14:52:38 -0400
commitb87ba57819a3dfa458b34c9cec9362c7028adf6e (patch)
treee12932e8dd7ac54c92ca337b9c975d7b4b143561 /js/src/lsp/client.ts
parent802389a90eaa9a173a98305003b9e58b95584cd1 (diff)
downloadopencode-b87ba57819a3dfa458b34c9cec9362c7028adf6e.tar.gz
opencode-b87ba57819a3dfa458b34c9cec9362c7028adf6e.zip
shutdown
Diffstat (limited to 'js/src/lsp/client.ts')
-rw-r--r--js/src/lsp/client.ts5
1 files changed, 5 insertions, 0 deletions
diff --git a/js/src/lsp/client.ts b/js/src/lsp/client.ts
index f07b21c7f..0c9f9d06c 100644
--- a/js/src/lsp/client.ts
+++ b/js/src/lsp/client.ts
@@ -178,6 +178,11 @@ export namespace LSPClient {
}),
]);
},
+ async shutdown() {
+ log.info("shutting down");
+ connection.end();
+ connection.dispose();
+ },
};
return result;