Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fixes celery/celery#3712 Before handling the todo items we "freeze" them by copying them aside and clearing the list. This way if an item in the todo list appends a new callable to the list itself it will be taken care of in the next iteration of the parent loop instead of producing an infinite loop by adding it to the list we're running on.
- Loading branch information