mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-28 04:44:57 +00:00
internal: Keep output channels across restarts
This commit is contained in:
parent
fd298b3994
commit
1127d2508f
3 changed files with 29 additions and 7 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue