Commit 6e845af
committed
[TASK] Guard against infinite loop in
This can't be tested because there are currently no cases that would fail the
test without the change.
It is there as a preventative double-lock measure to make sure any future code
changes do not introduce an infinite loop.
It's a slight unoptimization,
as it adds what should be a redundant runtime check,
but at miniscule performance cost versus the value of preventing a waste of CPU
power and memory in the case that something goes wrong.parseList
1 parent c7fb009 commit 6e845af
1 file changed
Lines changed: 6 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
72 | 72 | | |
73 | 73 | | |
74 | 74 | | |
| 75 | + | |
75 | 76 | | |
76 | 77 | | |
77 | 78 | | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
78 | 84 | | |
79 | 85 | | |
80 | 86 | | |
| |||
0 commit comments