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

Commit aa70502f authored by Evan Rosky's avatar Evan Rosky
Browse files

Remove queued before abort during failsafe flush

It may be possible that a legacy sync's abort runs
logic that can allow other logic to run which may read
from mQueuedTransitions before we actually clear it.
So, to be safe, clear the queue first.

Also, add some more checks for isFlushing to ensure we
aren't accidentally adding to the queue or collection
during the flush.

Bug: 439829314
Test: Existing tests
Flag: EXEMPT bugfix
Change-Id: I82d5cb20d843184c40b6acf98d2167fef0880893
parent 7c39c885
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