internal: Keep output channels across restarts

This commit is contained in:
Lukas Wirth 2022-06-05 13:59:49 +02:00
parent fd298b3994
commit 1127d2508f
3 changed files with 29 additions and 7 deletions

View file

@ -43,8 +43,6 @@ export class Ctx {
const res = new Ctx(config, extCtx, client, serverPath, statusBar);
res.pushCleanup(client.start());
res.pushCleanup(client.traceOutputChannel);
res.pushCleanup(client.outputChannel);
await client.onReady();
client.onNotification(ra.serverStatus, (params) => res.setServerStatus(params));
return res;