Skip to content

Commit 166cf17

Browse files
committed
move ConcurrentConsumerDispatcher initialisation
earlier to avoid race condition
1 parent 51fcf7b commit 166cf17

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,8 +96,8 @@ public ModelBase(ISession session)
9696

9797
public ModelBase(ISession session, ConsumerWorkService workService)
9898
{
99-
Initialise(session);
10099
ConsumerDispatcher = new ConcurrentConsumerDispatcher(this, workService);
100+
Initialise(session);
101101
}
102102

103103
protected void Initialise(ISession session)

0 commit comments

Comments
 (0)