We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 269623e commit 67fae55Copy full SHA for 67fae55
dotnet/src/webdriver/BiDi/Broker.cs
@@ -61,7 +61,7 @@ public async Task ConnectAsync(CancellationToken cancellationToken)
61
await _transport.ConnectAsync(cancellationToken).ConfigureAwait(false);
62
63
_receiveMessagesCancellationTokenSource = new CancellationTokenSource();
64
- _receivingMessageTask = _myTaskFactory.StartNew(async () => await ReceiveMessagesAsync(_receiveMessagesCancellationTokenSource.Token)).Unwrap();
+ _receivingMessageTask = _myTaskFactory.StartNew(async () => await ReceiveMessagesAsync(_receiveMessagesCancellationTokenSource.Token), TaskCreationOptions.LongRunning).Unwrap();
65
_eventEmitterTask = _myTaskFactory.StartNew(ProcessEventsAwaiterAsync).Unwrap();
66
}
67
0 commit comments