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 lsp crash tracker #576

Merged
merged 2 commits into from
Jun 4, 2024
Merged

Fix lsp crash tracker #576

merged 2 commits into from
Jun 4, 2024

Conversation

TwitchBronBron
Copy link
Member

Fix a bug in the lsp crash tracker.

);
// Start the client. This will also launch the server
this.clientDispose = this.client.start();
await this.client.onReady();
this.client.onDidChangeState((event: StateChangeEvent) => {
Copy link
Member Author

Choose a reason for hiding this comment

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

This was the primary fix. We need to subscribe to these events before starting the client so we pick up the starting and running states.

@TwitchBronBron TwitchBronBron merged commit 3a92232 into master Jun 4, 2024
4 checks passed
@TwitchBronBron TwitchBronBron deleted the fix-lsp-crash-tracker branch June 4, 2024 20:09
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.

1 participant