flutter/packages
Andrew Kolos 4a03b76c68
Handle "Service connection disposed" error from VmService disconnecting while requests are outstanding (#153714)
Fixes umbrella issue https://github.com/flutter/flutter/issues/153471, including its children: https://github.com/flutter/flutter/issues/153472, https://github.com/flutter/flutter/issues/153473, and https://github.com/flutter/flutter/issues/153474.

The VM service can be disposed at any time during requests (e.g. the user closes the app or stops debugging in VSCode)[^1]. a479f91e80 and a7d8707a59 updated package:vm_service to throw new `RPCError`s when the service disconnects while requests are inflight. Therefore, we need to handle these exceptions in the tool. See umbrella issue for more details.

I plan on cherry-picking this change to the stable channel.

[^1]: https://github.com/flutter/flutter/issues/153471#issuecomment-2296294221
2024-08-20 16:39:19 +00:00
..
flutter Roll pub packages (#153581) 2024-08-17 00:44:08 +00:00
flutter_driver Roll pub packages (#153581) 2024-08-17 00:44:08 +00:00
flutter_goldens Roll pub packages (#153581) 2024-08-17 00:44:08 +00:00
flutter_localizations Roll pub packages (#153581) 2024-08-17 00:44:08 +00:00
flutter_test Roll pub packages (#153581) 2024-08-17 00:44:08 +00:00
flutter_tools Handle "Service connection disposed" error from VmService disconnecting while requests are outstanding (#153714) 2024-08-20 16:39:19 +00:00
flutter_web_plugins Roll pub packages (#153581) 2024-08-17 00:44:08 +00:00
fuchsia_remote_debug_protocol Roll pub packages (#153581) 2024-08-17 00:44:08 +00:00
integration_test Roll pub packages (#153581) 2024-08-17 00:44:08 +00:00
analysis_options.yaml Update old wiki links (#149544) 2024-06-17 17:26:08 +00:00