You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This will cause an infinite loop in the recursion logic, ending with a Maximum call stack size exceeded error:
consta={};a.b=a;extractFiles(a)
Perhaps the recursion logic should somehow detect when it's revisiting a node that has already been visited, and bail on further recursion? The cloned object should probably contain the same circular references as the original. I'm not sure yet the best way to do all this.
In the meantime, avoid providing extractFiles a value that may contain circular references.
The text was updated successfully, but these errors were encountered:
This will cause an infinite loop in the recursion logic, ending with a
Maximum call stack size exceeded
error:Perhaps the recursion logic should somehow detect when it's revisiting a node that has already been visited, and bail on further recursion? The cloned object should probably contain the same circular references as the original. I'm not sure yet the best way to do all this.
In the meantime, avoid providing
extractFiles
a value that may contain circular references.The text was updated successfully, but these errors were encountered: