Skip to content

Commit f774135

Browse files
Oops, can't inline this
1 parent e82b5b4 commit f774135

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

projects/client/RabbitMQ.Client/src/client/api/ConnectionFactory.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,8 @@ public virtual IConnection CreateConnection()
214214
IConnection conn = null;
215215
try
216216
{
217-
IFrameHandler fh = Endpoint.Protocol.CreateFrameHandler(Endpoint,
217+
IProtocol p = Endpoint.Protocol;
218+
IFrameHandler fh = p.CreateFrameHandler(Endpoint,
218219
SocketFactory,
219220
RequestedConnectionTimeout);
220221
conn = p.CreateConnection(this, false, fh);

0 commit comments

Comments
 (0)