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

Skip to content
Commit 5733845b authored by Erwin Jansen's avatar Erwin Jansen Committed by Charlie Boutier
Browse files

Fix crash in emulator unit tests

We strengthen the invariants in the async manager to make sure a task is
not running when it is being cancelled.

Without this it becomes incredibly difficult to guarantee that a task
is:

- Not actively running
- Scheduled to be called

This makes sure that we do not delete the TestModel while a task is
actively running.

Test: Additional unit test to validate expected behavior
Bug: 232262266
Bug: 241962982
Ignore-AOSP-First: Cherry-picked from AOSP
Merged-In: I6decf29193b0ee041b1d64a14de62b63528d223a
Change-Id: I6decf29193b0ee041b1d64a14de62b63528d223a
parent e233730a
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