Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit aa20c581 authored by Alec Mouri's avatar Alec Mouri
Browse files

Clear out callback when canceling an alarm

VSyncDispatchTimerQueue tries to cancel its timer callback when
destroying itself, but Timekeeper might still run the callback if
disarming its timer happened immediately after polling but before
invoking the callback. To avoid this race condition, delete the callback
while holding Timekeeper's mutex.

Bug: 304675978
Test: builds
Change-Id: Ifa7a4fcb65481b6a5ddfcfeb6bc7a53cb37ec168
parent a3ba8119
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment