Skip to content

Commit

Permalink
do not break when a child is not final. a substate may have reached a…
Browse files Browse the repository at this point in the history
… final state anyway
  • Loading branch information
aleneum committed Sep 5, 2022
1 parent 85137c2 commit bedadba
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion transitions/extensions/nesting.py
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,6 @@ def _final_check(self, event_data, state_tree, enter_partials):
# if one child is not considered final, processing can stop
if child_res == 0:
all_children_final = False
break
# if one child has recently transitioned to a final state, we need to update all parents
elif child_res == 2:
needs_update = True
Expand Down

0 comments on commit bedadba

Please sign in to comment.