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

fix(engine): infinite loop in getErrorBoundaryVM #1704

Merged
merged 3 commits into from
Feb 3, 2020

Conversation

pmdartus
Copy link
Member

@pmdartus pmdartus commented Feb 3, 2020

Details

This PR fixes the infinite loop that happens in getErrorBoundaryVM when a deeply nested component errors out.

Does this PR introduce breaking changes?

  • No, it does not introduce breaking changes.

If yes, please describe the impact and migration path for existing applications.

The PR fulfills these requirements:

  • Have tests for the proposed changes been added? ✅
  • Have you followed these instructions to clearly describe the issue being fixed or feature enhanced? ✅

};

@api
toggleFlag(flag) {
this.state[flag] = true;
}

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice, reduced so much space!

@apapko apapko merged commit 7102988 into master Feb 3, 2020
@apapko apapko deleted the pmdartus/infinite-reccursion branch February 3, 2020 17:07
@pmdartus
Copy link
Member Author

pmdartus commented Feb 4, 2020

Let's improve this test. We originally created a single root component because this test was originally written as a webdriver test. This is not needed anymore, we can create each component individually now in Karma. If someone is in a clean-up mood...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants