Browse Source

Update PreviewerService.cs

Marcin Ziąbek 3 years ago
parent
commit
2beee1d22e
1 changed files with 1 additions and 1 deletions
  1. 1 1
      QuestPDF/Previewer/PreviewerService.cs

+ 1 - 1
QuestPDF/Previewer/PreviewerService.cs

@@ -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}.");