Commit fec72f4a authored by Mathieu Chartier's avatar Mathieu Chartier
Browse files

Fix race in thread list destructor

The ThreadList::Contains wasn't being guarded by the thread list
lock, which could cause a corrupted thread list if another thread
unregistered itself while std::find was searching the thread list.

Bug: 17896374

(cherry picked from commit b90132cb)

Change-Id: I8f6f979f365ca00ac0655e04eb26020d2ad7d6ee
parent a9b09744
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment