Skip to content

Conversation

@kevinsawicki
Copy link
Contributor

@kevinsawicki kevinsawicki commented Jul 11, 2016

Previously the visited objects array grew for all arguments which would mean circular references could be detected for arrays and objects referenced multiple times but not actually referencing each other in a circular fashion.

Now values are removed from the visited set once they are fully serialized and still null-ed out when a cycle is detected.

Closes #6435

@kevinsawicki kevinsawicki force-pushed the circular-references branch from e0d3bd3 to bd58e1b Compare July 11, 2016 17:33
@kevinsawicki kevinsawicki force-pushed the circular-references branch from fe90ff3 to 00f82aa Compare July 11, 2016 17:39
@zcbenz
Copy link
Contributor

zcbenz commented Jul 12, 2016

👍

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.

3 participants