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 7e7f1fe commit 6a10062Copy full SHA for 6a10062
src/Components/Endpoints/src/Rendering/EndpointHtmlRenderer.Prerendering.cs
@@ -184,16 +184,14 @@ public void HandleNonStreamingTasks()
184
{
185
if (NonStreamingPendingTasksCompletion == null)
186
187
- // Iterate over the tasks and handle their exceptions
188
foreach (var task in _nonStreamingPendingTasks)
189
190
- _ = GetErrorHandledTask(task); // Fire-and-forget with exception handling
+ _ = GetErrorHandledTask(task);
191
}
192
193
// Clear the pending tasks since we are handling them
194
_nonStreamingPendingTasks.Clear();
195
196
- // Mark the tasks as completed
197
NonStreamingPendingTasksCompletion = Task.CompletedTask;
198
199
0 commit comments