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

Address issue with Attempting to use languageClient before initialized #12959

Merged
merged 3 commits into from
Nov 13, 2024

Conversation

Colengms
Copy link
Collaborator

Fixes: #12954

It looks like VS Code is trying to send us a didOpen, which is cause by our protocolFilter, before returning from languageClient.start (before we've set this.innerLanguageClient).

This moves the code that depends on this.innerLanguageClient to after that is set.

@Colengms Colengms merged commit 9646722 into main Nov 13, 2024
6 checks passed
@Colengms Colengms deleted the coleng/use_before_init branch November 13, 2024 00:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

1.23.1: Error: Attempting to use languageClient before initialized
2 participants