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

Commit daa5f383 authored by Android Build Coastguard Worker's avatar Android Build Coastguard Worker
Browse files

Snap for 9841731 from 270cbd67 to udc-d1-release

Change-Id: I1bc5d69b2f78bbc7202f2e366d92ae08fd65b063
parents f15275a2 270cbd67
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1290,7 +1290,7 @@ ResolvCacheStatus resolv_cache_lookup(unsigned netid, span<const uint8_t> query,
        // wait until (1) timeout OR
        //            (2) cv is notified AND no pending request matching the |key|
        // (cv notifier should delete pending request before sending notification.)
        bool ret = cv.wait_for(lock, std::chrono::seconds(PENDING_REQUEST_TIMEOUT),
        const bool ret = cv.wait_for(lock, std::chrono::seconds(PENDING_REQUEST_TIMEOUT),
                                [netid, &cache, &key]() REQUIRES(cache_mutex) {
                                    // Must update cache as it could have been deleted
                                    cache = find_named_cache_locked(netid);