Use async timeline events for the phases of the scheduler binding (#88825)

This commit is contained in:
Jason Simmons
2021-09-10 10:17:05 -07:00
committed by GitHub
parent 7736b9eef0
commit 2004afae06
5 changed files with 38 additions and 12 deletions

View File

@@ -351,7 +351,7 @@ class TimelineSummary {
// Timeline does not guarantee that the first event is the "begin" event.
TimelineEvent? begin;
for (final TimelineEvent event in events) {
if (event.phase == 'B') {
if (event.phase == 'B' || event.phase == 'b') {
begin = event;
} else {
if (begin != null) {