Skip to content
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

Don't check for debugDidSendFirstFrameEvent when adding service extensions for Dart VM apps. #1670

Merged
merged 2 commits into from
Feb 26, 2020

Conversation

kenzieschmoll
Copy link
Member

eval_on_dart_library was throwing an error because flutter libs are not available for DartVM apps. For dart vm apps, we should add service extensions immediately.

Copy link
Contributor

@bkonyi bkonyi left a comment

Choose a reason for hiding this comment

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

LGTM

packages/devtools_app/lib/src/service_manager.dart Outdated Show resolved Hide resolved
packages/devtools_app/lib/src/service_manager.dart Outdated Show resolved Hide resolved
Copy link
Contributor

@jacob314 jacob314 left a comment

Choose a reason for hiding this comment

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

add a todo that we should still register service extensions for non-flutter apps if we ever define any service extensions we use for dart4web or vm apps.
lgtm

Comment on lines +559 to 563
} else {
for (String extension in isolate.extensionRPCs) {
await _addServiceExtension(extension);
}
}
Copy link
Member Author

Choose a reason for hiding this comment

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

@jacob314 we are adding service extensions for non flutter apps here

@kenzieschmoll kenzieschmoll merged commit 11da325 into flutter:master Feb 26, 2020
@kenzieschmoll kenzieschmoll deleted the dartVmApps branch February 26, 2020 16:09
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