Skip to content

Implement shutdown and exit RPCs for clean exit #101

@ianandhum

Description

@ianandhum

For a clean exit, Shutdown and Exit notifications are sent by the client. Currently protols does not implement these two rpcs on the server side.

VS Code built-in LSP client is failing with the following error when a stop() command is given:

Error checking for protols updates: _ResponseError: No such method shutdown {code: -32601, data: null, stack: 'Error: No such method shutdown
	at handleResp…Trampoline (node:internal/async_hooks:130:17)', message: 'No such method shutdown'}

Metadata

Metadata

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions