Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -161,8 +161,14 @@ public async Task WaitForShutdownAsync()
{
try
{
await _reader.Completion
.ConfigureAwait(false);
/*
* rabbitmq/rabbitmq-dotnet-client#1751
* Awaiting the work channel reader could deadlock - no idea why.
* Since we await the consumer dispatcher _worker task,
* that should suffice.
*
* await _reader.Completion.ConfigureAwait(false);
*/
await _worker
.ConfigureAwait(false);
}
Expand Down
Loading