mirror of
https://github.com/nodejs/node.git
synced 2026-11-09 15:11:11 -05:00
Temporary nested cycle-tracking entries could remain in the memory set after a successful comparison. If a later sibling comparison reused one of those objects, deepStrictEqual could incorrectly fail for equivalent structures. This cleans up the temporary nested entries after the nested comparison returns. Fixes: https://github.com/nodejs/node/issues/62422 PR-URL: https://github.com/nodejs/node/pull/62509 Fixes: https://github.com/nodejs/node/issues/62422 Reviewed-By: Jordan Harband <ljharb@gmail.com>