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

Commit b1252561 authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

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

parents 4dc97674 12bd4f15
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) {