1
0
mirror of https://github.com/ppy/osu.git synced 2026-05-28 11:50:15 +08:00

Merge pull request #15810 from peppy/fix-incorrect-await

Fix incorrect `ConfigureAwait` specification causing test stalls
This commit is contained in:
Dan Balasescu
2021-11-26 13:19:07 +09:00
committed by GitHub
Unverified
+1 -1
View File
@@ -253,7 +253,7 @@ namespace osu.Game.Stores
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>