File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
projects/client/RabbitMQ.Client/src/client/impl Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -75,7 +75,7 @@ public abstract class ModelBase : IFullModel
75
75
public ManualResetEvent m_flowControlBlock = new ManualResetEvent ( true ) ;
76
76
private readonly object m_flowSendLock = new object ( ) ;
77
77
78
- private ulong m_nextPubSeqNo ;
78
+ private ulong m_nextPubSeqNo = 0 ;
79
79
private SynchronizedCollection < ulong > m_unconfirmedSet =
80
80
new SynchronizedCollection < ulong > ( ) ;
81
81
private bool m_onlyAcksReceived = true ;
@@ -972,7 +972,10 @@ public abstract uint _Private_QueueDelete(string queue,
972
972
973
973
public void ConfirmSelect ( )
974
974
{
975
- m_nextPubSeqNo = 1 ;
975
+ if ( m_nextPubSeqNo == 0UL )
976
+ {
977
+ m_nextPubSeqNo = 1 ;
978
+ }
976
979
_Private_ConfirmSelect ( false ) ;
977
980
}
978
981
You can’t perform that action at this time.
0 commit comments