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

Commit 7682f4e7 authored by Treehugger Robot's avatar Treehugger Robot Committed by Automerger Merge Worker
Browse files

Merge "GraphicsTracker: do not call cancelBuffer() after being stopped" into main am: b1252561

parents bc51315f b1252561
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -824,6 +824,10 @@ c2_status_t GraphicsTracker::deallocate(uint64_t bid, const sp<Fence> &fence) {
    std::shared_ptr<BufferCache> cache;
    int slotId;
    sp<Fence> rFence;
    if (mStopped.load() == true) {
        ALOGE("cannot deallocate due to being stopped");
        return C2_BAD_STATE;
    }
    c2_status_t res = requestDeallocate(bid, fence, &completed, &updateDequeue,
                                        &cache, &slotId, &rFence);
    if (res != C2_OK) {