Skip to content

Commit

Permalink
dumper.js: fixed detection of recursion
Browse files Browse the repository at this point in the history
  • Loading branch information
dg committed Jan 2, 2020
1 parent f1a9d2c commit f36b649
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Tracy/Dumper/assets/dumper.js
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@
if (!object) {
throw new UnknownEntityException;
}
parentIds = parentIds || [];
parentIds = parentIds ? parentIds.slice() : [];
let recursive = parentIds.indexOf(id) > -1;
parentIds.push(id);

Expand Down

0 comments on commit f36b649

Please sign in to comment.