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

Commit 0705300a authored by Rob Carr's avatar Rob Carr Committed by Android (Google) Code Review
Browse files

Merge "BLASTBufferQueue: Hold sp in transactionCallbackThunk"

parents 2ab20b09 fbcbb4c0
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -159,7 +159,7 @@ static void transactionCallbackThunk(void* context, nsecs_t latchTime,
    if (context == nullptr) {
        return;
    }
    BLASTBufferQueue* bq = static_cast<BLASTBufferQueue*>(context);
    sp<BLASTBufferQueue> bq = static_cast<BLASTBufferQueue*>(context);
    bq->transactionCallback(latchTime, presentFence, stats);
}