Skip to content

Commit a608023

Browse files
author
Emile Joubert
committed
Make lock object readonly
1 parent 0cfc025 commit a608023

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
@@ -85,7 +85,7 @@ public abstract class ModelBase : IFullModel
8585
private BasicRecoverOkEventHandler m_basicRecoverOk;
8686

8787
public ManualResetEvent m_flowControlBlock = new ManualResetEvent(true);
88-
private Object m_flowSendLock = new object();
88+
private readonly object m_flowSendLock = new object();
8989

9090
public event ModelShutdownEventHandler ModelShutdown
9191
{

0 commit comments

Comments
 (0)