Fix possible lock order inversion in TaskQueueImpl::UnregisterTaskQueue
We now flush the queues outside of the lock because TSAN complains about a lock order inversion for tasks that are posted from within a lock, with adestructor that acquires the same lock. Bug: Change-Id: Ide17f8d1f4a92f5e5febe67666e4901915197a16 Reviewed-on: https://chromium-review.googlesource.com/774262 Commit-Queue: Alex Clarke <alexclarke@chromium.org> Reviewed-by:Eric Seckler <eseckler@chromium.org> Cr-Commit-Position: refs/heads/master@{#517231}
Showing
Please register or sign in to comment