Fix bug when only fork is called
If fork was called with no following operations, progress was undefined, this caused an infinite loop.
This commit is contained in:
parent
5f1870a6c8
commit
9404f1e0b8
@ -90,7 +90,7 @@ var FlowControl = {
|
|||||||
|
|
||||||
Promise.all(promises)
|
Promise.all(promises)
|
||||||
.then(function(values) {
|
.then(function(values) {
|
||||||
var progress;
|
var progress = 0;
|
||||||
|
|
||||||
var output = values.map(function(value) {
|
var output = values.map(function(value) {
|
||||||
progress = value.progress;
|
progress = value.progress;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user