summaryrefslogtreecommitdiff
path: root/libs/gui/BufferQueue.cpp
diff options
context:
space:
mode:
author Steven Moreland <smoreland@google.com> 2023-12-28 22:46:28 +0000
committer Steven Moreland <smoreland@google.com> 2023-12-28 22:46:28 +0000
commit95ac79e9bbf1b330735a35a8d034230195215fe6 (patch)
tree269050fb134414ddab476801eb1b1f4e4e7216a9 /libs/gui/BufferQueue.cpp
parent22ac12b228bfda8b55aaee05381c36acad7a296b (diff)
libfakeservicemanager: no hold lock in clear
destructors may reference servicemanager, and so if objects are destroyed by libfakeservicemanager clear, this was causing a recursive lock take. Fix this the standard way, by using the lock to copy out references, and then clear them when its okay to talk to servicemanager again. Bug: N/A Test: w/ fuzzers Change-Id: I4795ff6e042324e6ffe76f6c915c1328d3eee94f
Diffstat (limited to 'libs/gui/BufferQueue.cpp')
0 files changed, 0 insertions, 0 deletions