Serialized @Background task cancellation bugfix #624
This pull request fix a bug found in my serial+cancellable tasks feature.
If a serialized
Issue reported here:
I ran the tests 50 times (in a loop):
Thank you to dhleong for reporting it so quickly after the merge.
The text was updated successfully, but these errors were encountered:
If a serialized @background task was cancelled after it had been submitted to the executor but before its run() method was called, then the following tasks with the same serial identifier were not executed. Issue reported here: androidannotations#579 (comment) Detected by ThreadActivityTest#cancellableSerializedBackgroundTasks() (but not always due to the race condition)