BLASTBufferQueueTest: Fix leak of BBQ and SC
A newly added test results in a dangling reference which causes a SurfaceControl to not be cleaned up. This occludes the screen and interferes with further tests. While BLASTBufferQueue is expectin a complete callback, a manually incremented reference is kept. The sync transaction in this test is not applied (since it's just used to verify some release on buffer overwrite semantics). This results in this manually incremented reference dangling. We can fix this easily by applying the transaction after verifying the test success. Bug: 237010140 Test: Existing tests pass Change-Id: I30b48111ab236acda5cce3f240149ccaa353b89b
Loading
Please register or sign in to comment