diff options
| author | 2022-12-09 20:48:00 +0000 | |
|---|---|---|
| committer | 2022-12-09 20:48:13 +0000 | |
| commit | 4e04c3a31253304dbb92a25a8d0c9e3ad5b1fe31 (patch) | |
| tree | 37f23069c2f60d0d022b4fe9394478dd0c14db1b /libs/jpegrecoverymap/jpegencoderhelper.cpp | |
| parent | 52363196454b0bfca4c395bb711d806c9b33ea44 (diff) | |
SurfaceComposerClient: Handle transaction apply sync timeouts
We switched to using transaction complete callbacks to handle
transaction#apply(/*sync*/=true). The callback object was
destroyed after waiting for the callback. In the event of a
timeout, the callback would access an invalid object.
Fix this by using ref counted object to ensure the context
remains valid.
Fixes: 261679196
Test: atest SurfaceFlinger_test
Change-Id: I4f840214672dd4051cb57b9551bf20802cc90890
Diffstat (limited to 'libs/jpegrecoverymap/jpegencoderhelper.cpp')
0 files changed, 0 insertions, 0 deletions