Skip to content

Fix iteration in Bus.stop_all_periodic_tasks #637

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jul 16, 2019

Conversation

felixdivo
Copy link
Collaborator

Modifying a list while iterating over it results in unspecified order. This is now fixed in Bus.stop_all_periodic_tasks.

What happens when an exception is thrown while stopping a task? Do we want to catch it, log it and continue? Or do we want to leave the note on unspecified behaviour in there?

Fixes #634

Modifying a list while iterating over it results in unspecified order. This is now fixed in `Bus.stop_all_periodic_tasks`.

What happens when an exception is thrown while stopping a task? Do we want to catch it, log it and continue? Or do we want to leave the note on unspecified behaviour in there?

Fixes #634
@felixdivo felixdivo added the bug label Jul 11, 2019
@felixdivo felixdivo added this to the 4.0 Release milestone Jul 11, 2019
@felixdivo felixdivo self-assigned this Jul 11, 2019
@codecov
Copy link

codecov bot commented Jul 14, 2019

Codecov Report

Merging #637 into develop will decrease coverage by <.01%.
The diff coverage is 100%.

@@             Coverage Diff             @@
##           develop     #637      +/-   ##
===========================================
- Coverage    63.89%   63.88%   -0.01%     
===========================================
  Files           66       66              
  Lines         5955     5948       -7     
===========================================
- Hits          3805     3800       -5     
+ Misses        2150     2148       -2

1 similar comment
@codecov
Copy link

codecov bot commented Jul 14, 2019

Codecov Report

Merging #637 into develop will decrease coverage by <.01%.
The diff coverage is 100%.

@@             Coverage Diff             @@
##           develop     #637      +/-   ##
===========================================
- Coverage    63.89%   63.88%   -0.01%     
===========================================
  Files           66       66              
  Lines         5955     5948       -7     
===========================================
- Hits          3805     3800       -5     
+ Misses        2150     2148       -2

@felixdivo felixdivo merged commit 8112d13 into develop Jul 16, 2019
@felixdivo felixdivo deleted the felixdivo-patch-stop_all_periodic_tasks branch July 16, 2019 18:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

stop_all_periodic_tasks skipping every other task
2 participants