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

Skip to content
Commit 38f10755 authored by Mike Lockwood's avatar Mike Lockwood
Browse files

libutils: Fix race condition in Thread::requestExitAndWait()



Hold a reference to the thread in requestExitAndWait() so the
condition variable it is waiting on will not be destroyed before
its wait() call returns.

Change-Id: If8b6cf84117203926a4180f43f0224469e92a500
Signed-off-by: default avatarMike Lockwood <lockwood@android.com>
parent b65ef09b
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