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 import suggestion thread hang if -Ximport-suggestion-timeout <= 1 #21434

Merged
merged 1 commit into from
Aug 28, 2024

Conversation

dwijnand
Copy link
Member

Without this change, if -Ximport-suggestion-timeout is set to 0 or 1, we
would create a Timer thread and never cancel it, making the whole
execution thread hang.

Without this change, if -Ximport-suggestion-timeout is set to 0 or 1, we
would create a Timer thread and never cancel it, making the whole
execution thread hang.
@dwijnand dwijnand marked this pull request as ready for review August 27, 2024 07:55
@dwijnand dwijnand requested a review from rochala August 27, 2024 07:55
@dwijnand dwijnand merged commit ec1b115 into scala:main Aug 28, 2024
28 checks passed
@dwijnand dwijnand deleted the fix-importSuggestions-timer branch August 28, 2024 07:24
WojciechMazur added a commit that referenced this pull request Dec 4, 2024
…timeout <= 1" to LTS (#22112)

Backports #21434 to the 3.3.5.

PR submitted by the release tooling.
[skip ci]
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