Skip to content

Clear inProgressTextDocumentRequests on textDocumentTrackingQueue #1902

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

Merged
merged 1 commit into from
Jan 2, 2025

Conversation

ahoppen
Copy link
Member

@ahoppen ahoppen commented Jan 2, 2025

inProgressTextDocumentRequests is supposed to only be accessed on textDocumentTrackingQueue but we were accessing it outside of that queue. Because of this, we might try to remove requests from inProgressTextDocumentRequests before adding them, which would cause them to stay in the list indefinitely.

`inProgressTextDocumentRequests` is supposed to only be accessed on `textDocumentTrackingQueue` but we were accessing it outside of that queue. Because of this, we might try to remove requests from `inProgressTextDocumentRequests` before adding them, which would cause them to stay in the list indefinitely.
@ahoppen ahoppen requested a review from bnbarham January 2, 2025 12:23
@ahoppen
Copy link
Member Author

ahoppen commented Jan 2, 2025

@swift-ci Please test

@ahoppen ahoppen merged commit 320177f into swiftlang:main Jan 2, 2025
3 checks passed
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.

2 participants