[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.
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.
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.
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
| channel.add, | ||
| log: null, | ||
| disposeHandler: () async { | ||
| if (!streamClosedCompleter.isCompleted) { |
There was a problem hiding this comment.
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.