Skip to content

Commit d177ca5

Browse files
committed
Unnecessary await in TcpClientAdapter
1 parent abde7e5 commit d177ca5

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@ public virtual async Task ConnectAsync(string host, int port)
3535
await sock.ConnectAsync(ep, port).ConfigureAwait(false);
3636
#else
3737
sock.Connect(ep, port);
38-
await Task.FromResult(false);
3938
#endif
4039
}
4140

0 commit comments

Comments
 (0)