You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Race condition in LanguageServerWrapper on exception in StreamConnectionProvider.start() #804
I have observed the following behavior when I use a custom StreamConnectionProvider that tries to contact a remote language server using websockets: When the server is down, eventually lsp4e stops trying to recreate the language server connection. This is caused by an exception thrown in StreamConnectionProvider.start() that causes the following race condition:
Thanks for the PR. Feel free to submit a PR and we'll review it.
If you can manage to reproduce this case with a unit test as part of the PR, it would be great!
Activity
mickaelistria commentedon Sep 13, 2023
Thanks for the PR. Feel free to submit a PR and we'll review it.
If you can manage to reproduce this case with a unit test as part of the PR, it would be great!
Fix race condition in LanguageServerWrapper
ChristophKaser commentedon Sep 14, 2023
I created a PR with a unit test that reproduces the problem reliably for me and a fix.
Fix and unit test for #804: Race condition in LanguageServerWrapper (#…