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 9e1ce33 commit 4bde9d2Copy full SHA for 4bde9d2
projects/client/RabbitMQ.Client/src/client/impl/ConsumerWorkService.cs
@@ -77,7 +77,7 @@ async Task Loop()
77
// Swallowing the task cancellation exception for the semaphore in case we are stopping.
78
}
79
80
- while (_tokenSource.IsCancellationRequested && _actions.TryDequeue(out Action action))
+ while (_tokenSource.IsCancellationRequested == false && _actions.TryDequeue(out Action action))
81
{
82
try
83
@@ -88,7 +88,6 @@ async Task Loop()
88
// ignored
89
90
91
-
92
93
94
0 commit comments