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

Commit 2b0da3bf authored by Wonsik Kim's avatar Wonsik Kim Committed by Automerger Merge Worker
Browse files

Merge "BLASTBufferQueue: fix AsyncWorker race condition" into sc-dev am: 8dae4a80

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/native/+/14434213

Change-Id: I6cfb270b48aa3906d29f385b9e6b280395a858de
parents 737cb145 8dae4a80
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -666,12 +666,12 @@ private:
    void run() {
        std::unique_lock<std::mutex> lock(mMutex);
        while (!mDone) {
            mCv.wait(lock);
            while (!mRunnables.empty()) {
                std::function<void()> runnable = mRunnables.front();
                mRunnables.pop_front();
                runnable();
            }
            mCv.wait(lock);
        }
    }