We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b55c045 commit 3b4e33bCopy full SHA for 3b4e33b
ConcurrentQueueExtensions.cs
@@ -23,7 +23,7 @@ public static async Task AwaitAll(this ConcurrentQueue<Task> queue)
23
{
24
foreach (var item in queue.DequeueAll())
25
26
- await item;
+ await item.ConfigureAwait(continueOnCapturedContext: false);
27
}
28
29
@@ -38,7 +38,7 @@ public static async Task AwaitOne(this ConcurrentQueue<Task> queue)
38
39
if (queue.TryDequeue(out Task item))
40
41
42
43
44
0 commit comments