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

fix: race in Client::send_request #245

Merged

Conversation

lucacasonato
Copy link
Contributor

This PR fixes a race condition where it was possible for the client to respond to a request, before the LSP has registered an event handler for it.

silvanshade pushed a commit to silvanshade/lspower that referenced this pull request Dec 12, 2020
@ebkalderon
Copy link
Owner

Sorry for the delayed review! Great catch, @lucacasonato. Thanks so much for the PR. ❤️

@ebkalderon ebkalderon self-assigned this May 19, 2021
@ebkalderon ebkalderon merged commit 753512d into ebkalderon:master May 19, 2021
@lucacasonato lucacasonato deleted the fix_race_in_client_request branch May 19, 2021 10:12
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