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

Skip to content
Commit ad9b2bda authored by Erwin Jansen's avatar Erwin Jansen
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
Change-Id: I6decf29193b0ee041b1d64a14de62b63528d223a
parent 644867c6
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