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

Commit 85fda419 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Flip boolean op in RenderEngine tracing thread."

parents 7fc4d474 c15dd01e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1280,7 +1280,7 @@ void GLESRenderEngine::FlushTracer::loop() {
            std::lock_guard<std::mutex> lock(mMutex);

            mCondition.wait(mMutex,
                            [&]() REQUIRES(mMutex) { return !mQueue.empty() && !mRunning; });
                            [&]() REQUIRES(mMutex) { return !mQueue.empty() || !mRunning; });

            if (!mRunning) {
                // if mRunning is false, then FlushTracer is being destroyed, so