-
Notifications
You must be signed in to change notification settings - Fork 29.8k
[flutter_tools] Migrate to package:vm_service 4: trigonometric boogaloo #54132
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
[flutter_tools] Migrate to package:vm_service 4: trigonometric boogaloo #54132
Conversation
| channel.add, | ||
| log: null, | ||
| disposeHandler: () async { | ||
| if (!streamClosedCompleter.isCompleted) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Missing check for is completed. The old VM service might have been OK with being torn down multiple times though, not sure. At any rate I can't repro the test failure anymore
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If we're trying to tear it down twice, could we also be trying to use it after closing it in some other way?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've looked into it a bit more and I'm not certain - I can't consistently repro the crash. I think the stream logic is just too complicated right now, and should be a bit simpler once I no longer need to duplicate events
zanderso
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm w/ question.
| channel.add, | ||
| log: null, | ||
| disposeHandler: () async { | ||
| if (!streamClosedCompleter.isCompleted) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If we're trying to tear it down twice, could we also be trying to use it after closing it in some other way?
Description
Reland VM service migration. Fix unknown double-complete which broke flutter_test_performance.