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

Avoid undefined object access in ClangdContext.dispose() #461

Merged
merged 1 commit into from
Feb 28, 2023

Conversation

HighCommander4
Copy link
Contributor

this.client may not have been set if activate() failed for some reason (e.g. the clangd executable could not be found and the user opted not to install it via auto-install)

Partially fixes #406

this.client may not have been set if activate() failed for
some reason (e.g. the clangd executable could not be found
and the user opted not to install it via auto-install)

Partially fixes clangd#406
Copy link
Collaborator

@hokein hokein left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@hokein hokein merged commit 8ce86b2 into clangd:master Feb 28, 2023
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.

Failed to start and restart clangd
2 participants