Fix incorrect `ConfigureAwait` specification causing stalled test

This only occurs on upcoming changes I have (occurred when switching
existing skin import tests across to realm). Unsure why it was set to
`true`, seems like a weird oversight.
This commit is contained in:
Dean Herbert 2021-11-26 12:19:24 +09:00
parent 7a3c69544b
commit 1d96542a2a
1 changed files with 1 additions and 1 deletions

View File

@ -253,7 +253,7 @@ await Task.WhenAll(tasks.Select(async task =>
var scheduledImport = Task.Factory.StartNew(async () => await Import(model, archive, lowPriority, cancellationToken).ConfigureAwait(false),
cancellationToken, TaskCreationOptions.HideScheduler, lowPriority ? import_scheduler_low_priority : import_scheduler).Unwrap();
return await scheduledImport.ConfigureAwait(true);
return await scheduledImport.ConfigureAwait(false);
}
/// <summary>