Skip to content

Commit 6acdcc3

Browse files
authored
Test - Use TaskCreationOptions instead of TaskContinuationOptions for TaskCompletionSource (#4942)
1 parent efcf0a4 commit 6acdcc3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CefSharp.Test/OffScreen/DownloadHandlerTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ public DownloadHandlerTests(ITestOutputHelper output, CefSharpFixture fixture)
2626
[InlineData("https://code.jquery.com/jquery-3.4.1.min.js")]
2727
public async Task ShouldWorkWithoutAskingUser(string url)
2828
{
29-
var tcs = new TaskCompletionSource<string>(TaskContinuationOptions.RunContinuationsAsynchronously);
29+
var tcs = new TaskCompletionSource<string>(TaskCreationOptions.RunContinuationsAsynchronously);
3030

3131
using (var chromiumWebBrowser = new ChromiumWebBrowser(url, useLegacyRenderHandler: false))
3232
{

0 commit comments

Comments
 (0)