We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 5669618 + 4c031c8 commit 4f6dcddCopy full SHA for 4f6dcdd
1 file changed
xstate/algorithm.py
@@ -289,7 +289,7 @@ def enter_states(
289
grandparent = parent.parent
290
internal_queue.append(Event(f"done.state.{parent.id}", s.donedata))
291
292
- if is_parallel_state(grandparent):
+ if grandparent and is_parallel_state(grandparent):
293
if all(
294
is_in_final_state(parent_state, configuration)
295
for parent_state in get_child_states(grandparent)
0 commit comments