Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d1bbe230 authored by Myles Watson's avatar Myles Watson
Browse files

AsyncManager: Check if running before waiting

If the task was cancelled, we may have already missed the
notification from the other thread.  Check while holding
the mutex.

Bug: 155074413
Test: test-vendor_test_host --gtest_filter=*AsyncManagerTest*
Tag: #stability
Change-Id: Iaec163d33ea540d5adbafeb630415de06d7097de
parent e31f3db4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment