Skip to content

fix: return explicit null result for shutdown response#20

Merged
CppCXY merged 1 commit intoCppCXY:mainfrom
r-koubou:fix/invalid-response-when-shutdown-request-from-client
Apr 8, 2026
Merged

fix: return explicit null result for shutdown response#20
CppCXY merged 1 commit intoCppCXY:mainfrom
r-koubou:fix/invalid-response-when-shutdown-request-from-client

Conversation

@r-koubou
Copy link
Copy Markdown
Contributor

@r-koubou r-koubou commented Apr 7, 2026

fixes: #19

To ensure that operations other than “shutdown” messages are not affected, we have made the following changes:

  • Added a dedicated response type for shutdown
  • Modified the section responsible for generating responses to LSP clients

To ensure that operations other than “shutdown” messages are not affected, we have made the following changes:
- Added a dedicated response type for shutdown
- Always serialize the result as null
- Modified the section responsible for generating responses to LSP clients
@CppCXY CppCXY merged commit a1637c2 into CppCXY:main Apr 8, 2026
7 checks passed
@r-koubou r-koubou deleted the fix/invalid-response-when-shutdown-request-from-client branch April 12, 2026 14:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Invalid response when "shutdown" message send from client

2 participants