Skip to content

Fix infinite loop issue with standalone projects#1342

Merged
TwitchBronBron merged 3 commits intolsp-refactorfrom
fix-standalone-project-infinite-loop
Nov 1, 2024
Merged

Fix infinite loop issue with standalone projects#1342
TwitchBronBron merged 3 commits intolsp-refactorfrom
fix-standalone-project-infinite-loop

Conversation

@TwitchBronBron
Copy link
Member

Fixes a critical bug where the language server gets suck in an infinite loop creating and deleting projects. You can look at the unit test for how to reproduce, but it basically is caused by opening and editing two non-project files at the same time. Here's what it looked like when it happened:

project-creation-loop.mp4

@TwitchBronBron TwitchBronBron merged commit 30be955 into lsp-refactor Nov 1, 2024
@TwitchBronBron TwitchBronBron deleted the fix-standalone-project-infinite-loop branch November 1, 2024 17:58
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