Skip to content

Commit 82c1d95

Browse files
committed
Fix Aot to use TaskScheduler.Current
1 parent 96c885c commit 82c1d95

File tree

1 file changed

+1
-1
lines changed
  • src/Xamarin.Android.Build.Tasks/Tasks

1 file changed

+1
-1
lines changed

src/Xamarin.Android.Build.Tasks/Tasks/Aot.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,7 @@ bool RunParallelAotCompiler (List<string> nativeLibs)
267267

268268
ThreadingTasks.ParallelOptions options = new ThreadingTasks.ParallelOptions {
269269
CancellationToken = cts.Token,
270-
TaskScheduler = ThreadingTasks.TaskScheduler.Default,
270+
TaskScheduler = ThreadingTasks.TaskScheduler.Current,
271271
};
272272

273273
ThreadingTasks.Parallel.ForEach (GetAotConfigs (), options,

0 commit comments

Comments
 (0)