Skip to content

Commit 693df56

Browse files
authored
Merge pull request #220 from mfkl/task-fix
TaskUtils: use provided parameter
2 parents 52ac190 + 7e3e043 commit 693df56

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/SleetLib/Common/TaskUtils.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ public static Task RunAsync(IEnumerable<Func<Task>> tasks, bool useTaskRun, Canc
5555
{
5656
return RunAsync(
5757
tasks: tasks.Select(GetFuncWithReturnValue),
58-
useTaskRun: false,
58+
useTaskRun: useTaskRun,
5959
token: token);
6060
}
6161

@@ -66,7 +66,7 @@ public static Task RunAsync(IEnumerable<Func<Task>> tasks, bool useTaskRun, int
6666
{
6767
return RunAsync(
6868
tasks: tasks.Select(GetFuncWithReturnValue),
69-
useTaskRun: false,
69+
useTaskRun: useTaskRun,
7070
maxThreads: maxThreads,
7171
token: token);
7272
}

0 commit comments

Comments
 (0)