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

Don't crash when unregistering a feature that doesn't exist #1460

Closed werat closed 2 months ago

werat commented 2 months ago

Note: all other features follow the same practice in their unregister() methods -- if the features doesn't exist, do nothing and don't throw errors.

dbaeumer commented 2 months ago

Makes sense to make this consistent.