mirror of
https://github.com/osukey/osukey.git
synced 2025-06-21 19:27:58 +09:00
Merge pull request #15810 from peppy/fix-incorrect-await
Fix incorrect `ConfigureAwait` specification causing test stalls
This commit is contained in:
commit
3bc8f21935
@ -253,7 +253,7 @@ namespace osu.Game.Stores
|
|||||||
var scheduledImport = Task.Factory.StartNew(async () => await Import(model, archive, lowPriority, cancellationToken).ConfigureAwait(false),
|
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();
|
cancellationToken, TaskCreationOptions.HideScheduler, lowPriority ? import_scheduler_low_priority : import_scheduler).Unwrap();
|
||||||
|
|
||||||
return await scheduledImport.ConfigureAwait(true);
|
return await scheduledImport.ConfigureAwait(false);
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user