Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add #close to Reader and Writer #112

Merged
merged 1 commit into from
Jan 27, 2025

Conversation

pocke
Copy link
Contributor

@pocke pocke commented Jan 24, 2025

This PR adds close methods to LanguageServer::Protocol::Transport::Io::Reader and LanguageServer::Protocol::Transport::Io::Reader.

I'm working on Steep to introduce a new feature. I need to stop the LSP server in the feature, but this library does not expose close methods. So it can't treat the IO correctly.

This PR exposes close method to solve this problem.

@mtsmfm
Copy link
Owner

mtsmfm commented Jan 27, 2025

Thanks, makes sense. CI failures shouldn't relate to this change, I'll fix them in another PR.

@mtsmfm mtsmfm merged commit c21697e into mtsmfm:main Jan 27, 2025
10 of 16 checks passed
@pocke pocke deleted the Add___close__to_Reader_and_Writer branch February 10, 2025 02:12
pocke added a commit to pocke/steep that referenced this pull request Feb 10, 2025
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.

2 participants