Skip to content

Commit d71bda7

Browse files
Ack/0 can simply delegate to Ack/1
1 parent 4191179 commit d71bda7

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

projects/client/RabbitMQ.Client/src/client/messagepatterns/Subscription.cs

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -170,12 +170,7 @@ public void Close()
170170
///null.</summary>
171171
public void Ack()
172172
{
173-
lock(m_eventLock)
174-
{
175-
if (m_latestEvent != null) {
176-
Ack(m_latestEvent);
177-
}
178-
}
173+
Ack(m_latestEvent);
179174
}
180175

181176
///<summary>If we are not in "noAck" mode, calls

0 commit comments

Comments
 (0)