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 c7a3f49 commit 0b76124Copy full SHA for 0b76124
src/Components/Endpoints/src/Rendering/EndpointHtmlRenderer.Prerendering.cs
@@ -169,12 +169,9 @@ private void FinishRendereingOnQuiescenceIfRequested(PrerenderedComponentHtmlCon
169
return;
170
}
171
172
- // Set up a background task to wait for quiescence and signal when reached
173
- _ = Task.Run(async () =>
174
- {
175
- await htmlContent.QuiescenceTask.ConfigureAwait(false);
176
- SignalRendererToFinishRendering();
177
- });
+ htmlContent.QuiescenceTask.ContinueWith(
+ _ => SignalRendererToFinishRendering(),
+ TaskScheduler.Default);
178
179
180
private async Task WaitForResultReady(bool waitForQuiescence, PrerenderedComponentHtmlContent result)
0 commit comments