Skip to content
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

Invalid order of invoked services teardown #2400

Closed
korrix opened this issue Jul 9, 2021 · 0 comments · Fixed by #3126
Closed

Invalid order of invoked services teardown #2400

korrix opened this issue Jul 9, 2021 · 0 comments · Fixed by #3126
Assignees
Labels

Comments

@korrix
Copy link

korrix commented Jul 9, 2021

Description
When an invoked machine uses sendParent action at exit it is not guaranteed that the parent will exist at the time.

Expected Result
Nested machines should be torn down in topological order

Actual Result
XState crashes due to invalid ordering

Reproduction

Additional context
XState 4.20.2

@Andarist Andarist self-assigned this Jul 9, 2021
@Andarist Andarist linked a pull request Mar 30, 2022 that will close this issue
3 tasks
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 a pull request may close this issue.

3 participants