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:
parent
e98a0662ce
commit
9408e2a100
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user