-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
[CP] Fix race condition in PluginManager #47321
Comments
What would trigger this? Does this happen over time to all plugin users? Is it triggered by things that would rebuild the analysis context? I'm trying to get a sense for the impact here (# of users impacted, what percentage of those users, ...). |
This can be triggered by a change to the file system that causes re-creating analysis contexts, such as So, after every |
Approved - |
Assuming this is "merge-to-stable"? The fix should be included in the next beta by default. |
Yes, sorry, this is a merge-to-stable item. |
Cherry-picked to stable in 4ac35a7 ( |
commit(s) to merge: 7ee2744
merge instructions: clean merge
What is the issue: A race condition, see flutter/flutter#90868 (comment)
What is the fix: Remove the plugin when it stops, but only when the expected instance stops.
Why cherrypick: This affects users of analyze plugins.
Risk: low
Link to original issue(s): flutter/flutter#90868
/cc @kevmoo @mit-mit @whesse @athomas @vsmenon @devoncarew
The text was updated successfully, but these errors were encountered: