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 random failures when adding or removing workspace folders #10665

Merged

Conversation

sean-mcmanus
Copy link
Collaborator

i.e. when the client is not initialized yet.

The updateClientConfigurations case is the easiest to repro (it's hit from the 'select default compiler' initialization code in the client constructor):
image

The 2nd one is harder to repro, related to didOpen (not sure the exact repro requirements):
"Attempting to use languageClient before initialized"

@sean-mcmanus sean-mcmanus added this to the 1.15.0 milestone Mar 13, 2023
@sean-mcmanus sean-mcmanus requested review from Colengms and a team March 13, 2023 22:23
Colengms
Colengms previously approved these changes Mar 13, 2023
@sean-mcmanus sean-mcmanus merged commit 675720d into main Mar 13, 2023
@sean-mcmanus sean-mcmanus deleted the seanmcm/fixClientUseBeforeInitializedAddRemoveFolder branch March 13, 2023 22:44
@github-actions github-actions bot locked and limited conversation to collaborators Apr 28, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants