forked from androidannotations/androidannotations
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Serialized @background task cancellation bugfix
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)
- Loading branch information
Showing
1 changed file
with
31 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters