We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 6c49b27 + 3772617 commit 5a602cbCopy full SHA for 5a602cb
lib/job.js
@@ -38,7 +38,8 @@ class Job {
38
}
39
40
setResponseRemaining(response) {
41
- for (const link of this.remainingLinks) {
+ // Prevent operating on mutating list size
42
+ for (const link of [...this.remainingLinks]) {
43
this.setResponse(link.link.getParams().a, response);
44
45
0 commit comments