Skip to content

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

Open
jason-simmons wants to merge 2 commits intodart-lang:mainfrom
jason-simmons:bug_182897
Open

[ DWDS ] Write to WebkitDebugger.onClose if the debugger connection closes and the attempts to reconnect fail#2785
jason-simmons wants to merge 2 commits intodart-lang:mainfrom
jason-simmons:bug_182897

Conversation

@jason-simmons
Copy link
Contributor

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 flutter/flutter#182897

…loses and the attempts to reconnect fail

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 flutter/flutter#182897
@jason-simmons
Copy link
Contributor Author

cc @bkonyi

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant