-
Notifications
You must be signed in to change notification settings - Fork 27.2k
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
Reland "Add support for Dart Development Service (DDS) in Flutter Tools (#61276)" #62147
Conversation
|
||
// We absolutely must dispose this vmService instance, otherwise | ||
// DDS will fail to start. | ||
vmService.dispose(); |
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.
nit: don't use "we"
Can this be tested somehow?
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'm not sure if it's worth testing here since it's tested in the SDK, but DDS will throw an exception if another client is already connected to the VM service.
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 suppose if this were accidentally removed, the devicelab tests would already be failing.
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.
Yeah, the last time I tried to land this after I stopped swallowing the exception I found this issue. The iOS devicelab tests were very unhappy so it'd be hard to miss.
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
…` when launching on iOS devices, causing DDS to fail to start - Fixed `flutter drive` case where DDS is already running in another flutter_tools instance
…ls (flutter#61276)" (flutter#62147) This reverts commit adc9dde. - Fixed issue where `FallbackDiscovery` would hold on to a `VmService` when launching on iOS devices, causing DDS to fail to start - Fixed `flutter drive` case where DDS is already running in another flutter_tools instance
…ls (flutter#61276)" (flutter#62147) This reverts commit adc9dde. - Fixed issue where `FallbackDiscovery` would hold on to a `VmService` when launching on iOS devices, causing DDS to fail to start - Fixed `flutter drive` case where DDS is already running in another flutter_tools instance
This reverts commit adc9dde.
Changes for attempt 6 (see diff between commits):
FallbackDiscovery
would hold on to aVmService
when launching on iOS devices, causing DDS to fail to startflutter drive
case where DDS is already running in another flutter_tools instance