Skip to content

Commit fcadbf6

Browse files
Fixed bug where default scheduler is not propagated.
1 parent 5c3e2ac commit fcadbf6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

ActionRunner.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ CancellableTask Prepare()
9898
},
9999
CancellationToken.None,
100100
TaskContinuationOptions.ExecuteSynchronously,
101-
Scheduler);
101+
Scheduler ?? TaskScheduler.Default);
102102
return task;
103103
}
104104

Open.Threading.Tasks.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
<PackageLicenseExpression>MIT</PackageLicenseExpression>
1616
<RepositoryType>git</RepositoryType>
1717
<PackageTags>dotnet, dotnet-core, dotnetcore, cs, extensions, actionrunner, cancellable, cancellabletask, progress, task-extensions</PackageTags>
18-
<Version>1.2.1</Version>
18+
<Version>1.2.2</Version>
1919
<PackageReleaseNotes></PackageReleaseNotes>
2020
<PackageIcon>logo.png</PackageIcon>
2121
<PublishRepositoryUrl>true</PublishRepositoryUrl>

0 commit comments

Comments
 (0)