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

[BUGFIX beta] Fix cycle detection in Ember.copy #17220

Merged

Conversation

hjdivad
Copy link
Member

@hjdivad hjdivad commented Nov 22, 2018

Previously, key iteration in objects would recurse prior to updating seen and therefore miss the cycle check in the recursive call, leading to stack overflows.

@hjdivad hjdivad requested a review from rwjblue November 22, 2018 01:03
@hjdivad
Copy link
Member Author

hjdivad commented Nov 22, 2018

@rwjblue i presume [BUGFIX beta] is appropriate here?

hjdivad added a commit to hjdivad/ember-copy that referenced this pull request Nov 22, 2018
hjdivad added a commit to hjdivad/ember-copy that referenced this pull request Nov 22, 2018
Copy link
Member

@rwjblue rwjblue left a comment

Choose a reason for hiding this comment

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

Thank you!!

@rwjblue rwjblue merged commit 3f5c80a into emberjs:master Nov 22, 2018
@hjdivad hjdivad deleted the hjdivad/fix-cycle-detection-in-deep-copy branch November 26, 2018 17:19
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.

None yet

2 participants