Skip to content
This repository was archived by the owner on Sep 28, 2020. It is now read-only.

Commit 4b489b3

Browse files
committed
Remove the await
1 parent 84bed07 commit 4b489b3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

YoutubeExtractor/YoutubeExtractor/DownloadUrlResolver.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -122,9 +122,9 @@ public static IEnumerable<VideoInfo> GetDownloadUrls(string videoUrl, bool decry
122122

123123
#if PORTABLE
124124

125-
public static async System.Threading.Tasks.Task<IEnumerable<VideoInfo>> GetDownloadUrlsAsync(string videoUrl, bool decryptSignature = true)
125+
public static System.Threading.Tasks.Task<IEnumerable<VideoInfo>> GetDownloadUrlsAsync(string videoUrl, bool decryptSignature = true)
126126
{
127-
return await System.Threading.Tasks.Task.Run(() => GetDownloadUrls(videoUrl, decryptSignature));
127+
return System.Threading.Tasks.Task.Run(() => GetDownloadUrls(videoUrl, decryptSignature));
128128
}
129129

130130
#endif

0 commit comments

Comments
 (0)