summaryrefslogtreecommitdiff
path: root/libs/gui/WindowInfosUpdate.cpp
diff options
context:
space:
mode:
author Leon Scroggins III <scroggo@google.com> 2023-04-24 11:43:53 -0400
committer Leon Scroggins <scroggo@google.com> 2023-04-27 14:06:25 +0000
commit0773813474604ca4588fbdf476885cb358046dbf (patch)
treea1d42bf021b0ff24eaa2ea0f3cb5935521532bbe /libs/gui/WindowInfosUpdate.cpp
parentb2253605afdb7496ed534d6f745359edbdb58cea (diff)
Before deleting callbacks, ensure they aren't running
I3c1eccb36914f29560600d48bb08b1b8f2fe7c96 makes sure that a VSyncDispatchTimerQueue unregisters its callback if a new one is moved into it, but it's possible for the class to be used directly, so there is still the possibility of deleting the callbacks while running. Update the destructor to wait for any callbacks to finish before deleting them. Also log an error, since the caller should've unregistered them. Bug: 279209321 Test: infeasible Change-Id: Ia2c5436944c88284912be4963740be41de5c21d3
Diffstat (limited to 'libs/gui/WindowInfosUpdate.cpp')
0 files changed, 0 insertions, 0 deletions