Skip to content
This repository has been archived by the owner on Aug 29, 2022. It is now read-only.

Commit

Permalink
Fix typo leading to problems with allSucceeded progress tracking (#130)
Browse files Browse the repository at this point in the history
  • Loading branch information
zwaldowski committed Oct 28, 2016
1 parent a2a08b1 commit 9e87237
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/Task/TaskCollections.swift
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ extension Collection where Iterator.Element: FutureProtocol, Iterator.Element.Va

for task in self {
let innerProgress = Progress.wrapped(task, cancellation: nil)
outerProgress.adoptChild(innerProgress, orphaned: true, pendingUnitCount: 1)
outerProgress.adoptChild(innerProgress, orphaned: false, pendingUnitCount: 1)

group.enter()
task.upon(queue) { result in
Expand Down

0 comments on commit 9e87237

Please sign in to comment.