Skip to content

Commit 4253e72

Browse files
author
Emile Joubert
committed
Fail properly if the server drops the connection during connection start
1 parent 3ecf250 commit 4253e72

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -482,6 +482,10 @@ public void FinishClose()
482482
{
483483
m_session.Close(m_closeReason);
484484
}
485+
if (m_connectionStartCell != null)
486+
{
487+
m_connectionStartCell.Value = null;
488+
}
485489
}
486490

487491
///////////////////////////////////////////////////////////////////////////

0 commit comments

Comments
 (0)