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

Prepare for 2023.3: Move some tasks to background thread. #5446

Merged
merged 1 commit into from
Oct 10, 2023

Conversation

tpasternak
Copy link
Collaborator

Since the commit below, FSRecords update operations are forbidden in EDT thread. JetBrains/intellij-community@78f7474

For this reason, we delegate a few method calls to Background Thread in order to make sure it will not crash. We do it via a synchrounous BGT call, so EDT still stops and waits until the aciton is completed, like it was before this change.

Checklist

  • I have filed an issue about this change and discussed potential changes with the maintainers.
  • I have received the approval from the maintainers to make this change.
  • This is not a stylistic, refactoring, or cleanup change.

Please note that the maintainers will not be reviewing this change until all checkboxes are ticked. See
the Contributions section in the README for more
details.

Discussion thread for this change

Issue number: <please reference the issue number or url here>

Description of this change

Since the commit below, FSRecords update operations are forbidden in EDT thread.
JetBrains/intellij-community@78f7474

For this reason, we delegate a few method calls to Background Thread in order to make
sure it will not crash. We do it via a synchrounous BGT call, so
EDT still stops and waits until the aciton is completed, like it was before this change.
@github-actions github-actions bot added product: CLion CLion plugin product: IntelliJ IntelliJ plugin product: GoLand GoLand plugin awaiting-review Awaiting review from Bazel team on PRs labels Oct 10, 2023
@mai93 mai93 merged commit 228a6fd into bazelbuild:master Oct 10, 2023
8 checks passed
@github-actions github-actions bot removed the awaiting-review Awaiting review from Bazel team on PRs label Oct 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
product: CLion CLion plugin product: GoLand GoLand plugin product: IntelliJ IntelliJ plugin
Projects
Development

Successfully merging this pull request may close these issues.

3 participants