1
0
mirror of https://github.com/oliverbooth/VpSharp synced 2024-11-10 02:35:42 +00:00

ConfigureAwait(false) when enumerating objects

This commit is contained in:
Oliver Booth 2022-12-04 15:39:27 +00:00
parent e98a0662ce
commit 9408e2a100
No known key found for this signature in database
GPG Key ID: 32A00B35503AF634

View File

@ -64,7 +64,7 @@ public sealed partial class VirtualParadiseClient
foreach (Cell cell in cells.OrderBy(c => Vector2.Distance(c, center)))
{
await foreach (VirtualParadiseObject vpObject in EnumerateObjectsAsync(cell))
await foreach (VirtualParadiseObject vpObject in EnumerateObjectsAsync(cell).ConfigureAwait(false))
{
yield return vpObject;
}