Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Background_Thread_Pipe_Writer's destructor has a data race. It writes to the stop_ member variable without acquiring the lock, but the background thread might be reading the variable concurrently (with the lock held). Fix the data race by guarding access to stop_ with a lock.
- Loading branch information