[Flaky] Use RunLoop to fix repeated moving
Most likely, `std::move(*quit_task).Run();` could be called twice for the same |quit_task| at times. By introducing a RunLoop, it doesn't matter (anymore) how often the loop is quit. This should fix the flaky crashes of this test as described in the linked bug. Bug: 1030275 Change-Id: I9509d474cc950362996f31a879034fb01ca5303c Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1948895 Commit-Queue: Friedrich [CET] <fhorschig@chromium.org> Reviewed-by:Vasilii Sukhanov <vasilii@chromium.org> Cr-Commit-Position: refs/heads/master@{#721478}
Showing
Please register or sign in to comment