diff --git a/source/Playnite/Common/Web/Downloader.cs b/source/Playnite/Common/Web/Downloader.cs index 84911d828..3b36254b3 100644 --- a/source/Playnite/Common/Web/Downloader.cs +++ b/source/Playnite/Common/Web/Downloader.cs @@ -77,7 +77,7 @@ public string DownloadString(string url, CancellationToken cancelToken) using (var webClient = new WebClient { Encoding = Encoding.UTF8 }) using (var registration = cancelToken.Register(() => webClient.CancelAsync())) { - return webClient.DownloadStringTaskAsync(url).GetAwaiter().GetResult(); + return Task.Run(async () => await webClient.DownloadStringTaskAsync(url)).GetAwaiter().GetResult(); } } catch (WebException ex) when (ex.Status == WebExceptionStatus.RequestCanceled)