You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey
We see a crash from our end-users.
Wasn't able to reproduce this locally yet so no information other than the stack trace
CefSharp version - 90.6.50
System.InvalidOperationException: Start may not be called on a task that has completed.\r\n at System.Threading.Tasks.Task.Start(TaskScheduler scheduler)\r\n at CefSharp.Internals.ConcurrentMethodRunnerQueue.Enqueue(MethodInvocation methodInvocation)\r\n at CefSharp.Internals.ClientAdapter.OnProcessMessageReceived(ClientAdapter* , scoped_refptr* browser, scoped_refptr* frame, cef_process_id_t source_process, scoped_refptr* message)
…eption
When ConcurrentMethodRunnerQueue.Dispose is called from a different thread it appears that
the CancellationTokenSource is cancelled (via Dispose) inbetween creation of the Task
and calling Task.Start(TaskScheduler).
Switch from using Task constructor and Task.Start to the preferred Task.Run method.
Added additional unit tests.
Issue #3639
…eption
When ConcurrentMethodRunnerQueue.Dispose is called from a different thread it appears that
the CancellationTokenSource is cancelled (via Dispose) inbetween creation of the Task
and calling Task.Start(TaskScheduler).
Switch from using Task constructor and Task.Start to the preferred Task.Run method.
Added additional unit tests.
Issue #3639
Hey
We see a crash from our end-users.
Wasn't able to reproduce this locally yet so no information other than the stack trace
CefSharp version - 90.6.50
System.InvalidOperationException: Start may not be called on a task that has completed.\r\n at System.Threading.Tasks.Task.Start(TaskScheduler scheduler)\r\n at CefSharp.Internals.ConcurrentMethodRunnerQueue.Enqueue(MethodInvocation methodInvocation)\r\n at CefSharp.Internals.ClientAdapter.OnProcessMessageReceived(ClientAdapter* , scoped_refptr* browser, scoped_refptr* frame, cef_process_id_t source_process, scoped_refptr* message)
Originally posted by @eadan-y in #3638
The text was updated successfully, but these errors were encountered: