mirror of
https://github.com/osukey/osukey.git
synced 2025-07-02 00:40:09 +09:00
Apply ConfigureAwait changes to game side
This commit is contained in:
@ -434,7 +434,7 @@ namespace osu.Game
|
||||
foreach (var importer in fileImporters)
|
||||
{
|
||||
if (importer.HandledExtensions.Contains(extension))
|
||||
await importer.Import(paths);
|
||||
await importer.Import(paths).ConfigureAwait(false);
|
||||
}
|
||||
}
|
||||
|
||||
@ -445,7 +445,7 @@ namespace osu.Game
|
||||
{
|
||||
var importer = fileImporters.FirstOrDefault(i => i.HandledExtensions.Contains(taskGroup.Key));
|
||||
return importer?.Import(taskGroup.ToArray()) ?? Task.CompletedTask;
|
||||
}));
|
||||
})).ConfigureAwait(false);
|
||||
}
|
||||
|
||||
public IEnumerable<string> HandledExtensions => fileImporters.SelectMany(i => i.HandledExtensions);
|
||||
|
Reference in New Issue
Block a user