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

Commit 2ff38fcd 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: I978ad488a3615c6e41e9622500a23c88561b615d
parents 841f2a4b 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);
        }
    }