Update PreviewerService.cs

This commit is contained in:
Marcin Ziąbek
2022-05-06 20:59:06 +02:00
committed by GitHub
parent a6f4fd7f49
commit 2beee1d22e
+1 -1
View File
@@ -111,7 +111,7 @@ namespace QuestPDF.Previewer
while (true)
{
await Task.Delay(TimeSpan.FromMilliseconds(250), cancellationToken);
await Task.Delay(TimeSpan.FromMilliseconds(250));
if (cancellationToken.IsCancellationRequested)
throw new Exception($"Cannot connect to the QuestPDF Previewer tool. Please make sure that your Operating System does not block HTTP connections on port {Port}.");