-
Notifications
You must be signed in to change notification settings - Fork 4.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Do not record events announced after the build-completing event.
Doing so results in a race condition: last_message is set when there are no events that are announced but not posted. Progress events always announce the subsequent progress event so if there is a progress event after the build-completing event, last_message is never set. The UI is updated on a separate thread and writing to the console results in a progress event so the above scenario is entirely possible. RELNOTES: None. PiperOrigin-RevId: 636810448 Change-Id: I86e1b9d37b338b3d574a6e27a7d72e81a6ecdffa
- Loading branch information
1 parent
015f3a8
commit cdd104c
Showing
2 changed files
with
45 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters