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

Fix timeline bug throwing error for empty recording #1630

Merged
merged 1 commit into from Feb 14, 2020

Conversation

kenzieschmoll
Copy link
Member

It is possible to have trace events but no timeline events (e.g. if we only received the begin trace event for a task, but not the end trace event). Previously, we were only checking that traceEvents.isEmpty to determine whether the full timeline is empty.

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.

lgtm

@kenzieschmoll kenzieschmoll merged commit 2ceed73 into flutter:master Feb 14, 2020
@kenzieschmoll kenzieschmoll deleted the timelineBug branch February 14, 2020 21:19
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.

None yet

2 participants