microsoft / vscode-languageserver-node

Language server protocol implementation for VSCode. This allows implementing language services in JS/TS running on node.js
MIT License
1.41k stars 320 forks source link

Stopped client can recreate its OutputChannel #1496

Open plemarquand opened 3 weeks ago

plemarquand commented 3 weeks ago

Our VS Code extension has a command to restart its language server. After a restart there are two identical OutputChannels in the Output dropdown. I did some digging and found the following steps were happening:

This leaves us with one more output channel than we started with.

dbaeumer commented 3 weeks ago

Great analysis. Will look into fixing it.