Skip to content

Commit 6666ab0

Browse files
author
Steve Powell
committed
Backout changeset c406a02386385438ae9a0912350a3372b66c146f
1 parent 2b09eeb commit 6666ab0

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/com/rabbitmq/client/impl/ChannelN.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -162,13 +162,12 @@ public ConfirmListener getConfirmListener() {
162162
public boolean waitForConfirms()
163163
throws InterruptedException
164164
{
165-
long seqHead = this.getNextPublishSeqNo();
166165
synchronized (unconfirmedSet) {
167166
while (true) {
168167
if (getCloseReason() != null) {
169168
throw Utility.fixStackTrace(getCloseReason());
170169
}
171-
if (unconfirmedSet.headSet(seqHead).isEmpty()) {
170+
if (unconfirmedSet.isEmpty()) {
172171
boolean aux = onlyAcksReceived;
173172
onlyAcksReceived = true;
174173
return aux;

0 commit comments

Comments
 (0)