commit | 6ec1c0b40eee97a5c304a429dd7564427320fe98 | [log] [tgz] |
---|---|---|
author | Tim Detwiler <tjdetwiler@google.com> | Mon Jul 29 22:05:27 2019 +0000 |
committer | CQ bot account: commit-bot@chromium.org <commit-bot@chromium.org> | Mon Jul 29 22:05:27 2019 +0000 |
tree | da1c01b813cc07299baa34c646b067fd2a9b4af2 | |
parent | 9ab488c9ec3e52329d06916939ad5c23bb390905 [diff] |
[media][tests] Run loop exit logic on the async thread. It was possible that the thread running the loop would exit after the loop was moved into the shutdow state (which would in turn run the async::Loop dtor and close the port handle) and before the loop could post a wake task, which would return ZX_ERR_BAD_STATE from zx_port_queue and trigger an assert. By posting the quit task to the loop, we ensure that this will not race with the loop exit logic. Test: Was causing flakes in fxr/300198. This will be added to the relation chain add will do some burn-in testing in CQ with that CL. Change-Id: Iad5c63456717346a028c4600ed2cacba90d63a0b
Pink + Purple == Fuchsia (a new operating system)
Fuchsia is a modular, capability-based operating system. Fuchsia runs on modern 64-bit Intel and ARM processors.
Fuchsia is an open source project with a code of conduct that we expect everyone who interacts with the project to respect.
See Getting Started.
See fuchsia.dev.