summaryrefslogtreecommitdiff
path: root/libs/jpegrecoverymap/jpegencoderhelper.cpp
diff options
context:
space:
mode:
author Vishnu Nair <vishnun@google.com> 2023-01-24 19:17:59 -0800
committer Vishnu Nair <vishnun@google.com> 2023-01-25 17:28:24 +0000
commit42ad319696887c4021d34a96479085f06bd41fc3 (patch)
tree49bdb704627aabd0929df158f4cf5b8e88fd2533 /libs/jpegrecoverymap/jpegencoderhelper.cpp
parent08b80233dc866f9659ff2651635201bab8030e47 (diff)
SF: Fix a race between layer creation and apply transaction
Between commitCreatedLayers and applyTransactions in the main thread, the client could create a new layer and queue a transaction. This will mean a layer transaction can be applied before the layer can be committed. Fix this by flushing the transactions to be applied before committing any new layers. Test: presubmit Fixes: b/262336014 Change-Id: Id2848af4fbb7afe4e6a20a48f6a8a13f322e1cd7
Diffstat (limited to 'libs/jpegrecoverymap/jpegencoderhelper.cpp')
0 files changed, 0 insertions, 0 deletions