Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ARTEMIS-4569 Improving order in which the list is added versus cancel…
… call I just did some static analysis of this code, and I believe it would be better to first add to the list before setting the cancel task. Reason for that is in case the Runnable is dequeued between the add in the deQueue and setting the cancel task. Possibility is remote but my OCD wouldn't let me ignore this small possibility.
- Loading branch information