Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'editors/code/src/ctx.ts')
-rw-r--r--editors/code/src/ctx.ts3
1 files changed, 1 insertions, 2 deletions
diff --git a/editors/code/src/ctx.ts b/editors/code/src/ctx.ts
index 10063470f7..992c3d5de6 100644
--- a/editors/code/src/ctx.ts
+++ b/editors/code/src/ctx.ts
@@ -42,8 +42,7 @@ export class Ctx {
const res = new Ctx(config, extCtx, client, serverPath, statusBar);
- res.pushCleanup(client.start());
- await client.onReady();
+ await client.start();
client.onNotification(ra.serverStatus, (params) => res.setServerStatus(params));
return res;
}