Skip to content

Conversation

grouma
Copy link
Member

@grouma grouma commented Oct 17, 2019

  • No longer wait for CreateIsolate to complete or the debugger to be enabled before creating the ChromeProxyService
  • Get rid of the correctTab evals as they are no longer necessary
  • No longer return a RunResponse as the run state is now properly stored in the AppConnection

final ConnectRequest request;

final _startCompleter = Completer();
final SseConnection _connection;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: startCompleter sounds like an action, which is a bit confusing. Maybe _startupCompleter, or _startedCompleter? Or even just '_startup', as it's private in a pretty narrow scope, and Dart style avoids reiterating types in variable names. if (_startup.isCompleted) reads pretty well. And a comment wouldn't hurt.

final VM _vm;

// TODO(flutter/devtools/issues/1207) - Remove.
final _vmReadyCompleter = Completer();
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Completer of bool? void?

);

unawaited(appConnection.onStart.then((_) async {
unawaited((await _debugger).resumeFromStart());
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[nit]: this can actually await

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants