[ DWDS ] Write to WebkitDebugger.onClose if the debugger connection closes and the attempts to reconnect fail (#2785)

The Flutter tool expects DebugConnection.onDone to complete if the user exits the browser and the debugger connection closes.

After receiving notification of a closed connection, WebkitDebugger tries to reconnect to the debugger.  If these attempts fail, WebkitDebugger will now write to its onClose stream so that DebugConnection will know to signal onDone.

See https://github.com/flutter/flutter/issues/182897
2 files changed
tree: d8d17081aae66bb16f07d98a70ba031e7a68f75c
  1. .github/
  2. _analysis_config/
  3. debug_extension/
  4. dwds/
  5. dwds_test_common/
  6. example/
  7. frontend_server_client/
  8. frontend_server_common/
  9. tool/
  10. webdev/
  11. .gitattributes
  12. .gitignore
  13. AUTHORS
  14. CONTRIBUTING.md
  15. mono_repo.yaml
  16. README.md
README.md

Dart

Packages

PackageDescriptionVersion
dwdsA service that proxies between the Chrome debug protocol and the Dart VM service protocol.pub package
frontend_server_clientClient code to start and interact with the frontend_server compiler from the Dart SDK.pub package
webdevA CLI for Dart web development. Provides an easy and consistent set of features for users and tools to build and deploy web applications with Dart.pub package

Publishing automation

For information about our publishing automation and release process, see https://github.com/dart-lang/ecosystem/wiki/Publishing-automation.