mirror of
https://github.com/cefsharp/CefSharp.git
synced 2026-12-06 12:09:40 +00:00
Merge pull request #1633 from dga711/master
MethodRunnerQueue target default scheduler
This commit is contained in:
@@ -37,7 +37,7 @@ namespace CefSharp.Internals
|
||||
if (!running)
|
||||
{
|
||||
cancellationTokenSource = new CancellationTokenSource();
|
||||
Task.Factory.StartNew(ConsumeTasks, TaskCreationOptions.LongRunning);
|
||||
Task.Factory.StartNew(ConsumeTasks, cancellationTokenSource.Token, TaskCreationOptions.LongRunning, TaskScheduler.Default);
|
||||
running = true;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user