Skip to content

Commit e138d72

Browse files
committed
add configure await in tcp client adapter
1 parent 4bc8902 commit e138d72

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

projects/client/RabbitMQ.Client/src/client/impl/TcpClientAdapter.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ public virtual async Task ConnectAsync(string host, int port)
3232
throw new ArgumentException("No ip address could be resolved for " + host);
3333
}
3434
#if CORECLR
35-
await sock.ConnectAsync(ep, port);
35+
await sock.ConnectAsync(ep, port).ConfigureAwait(false);
3636
#else
3737
sock.Connect(ep, port);
3838
await Task.FromResult(false);

0 commit comments

Comments
 (0)