diff options
| author | 2024-08-22 15:00:50 -0500 | |
|---|---|---|
| committer | 2024-08-22 15:00:50 -0500 | |
| commit | 1a37b731c88f79f81c4add642b2a06b06d38ea2d (patch) | |
| tree | aa8edbd58683216204584b59ffb6db57488965f7 /libs/gui/ConsumerBase.cpp | |
| parent | 04e70e42877cb7c69c8c06a43d2d1ecfb05859c7 (diff) | |
Fix transactionCallbackThunk lifetime issue
TestBLASTBufferQueue overrides transactionCallback but BLASTBufferQueue::transactionCallback can trigger the destruction of BLASTBufferQueue, causing native crashes. This CL fixes the issue by moving the decStrong call after transactionCallback has completed.
Bug: 294133380
Flag: EXEMPT bugfix
Test: BLASTBufferQueueTest
Change-Id: Ia2344ed6d14e89026f464b32c95c76b3a96a19d0
Diffstat (limited to 'libs/gui/ConsumerBase.cpp')
0 files changed, 0 insertions, 0 deletions