Skip to content

Commit 0a98bd8

Browse files
author
Rob Harrop
committed
Fixed notify() -> notifyAll()
1 parent c7d8934 commit 0a98bd8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ public void broadcastShutdownSignal(ShutdownSignalException signal) {
242242
super.processShutdownSignal(signal, ignoreClosed, notifyRpc);
243243
broadcastShutdownSignal(signal);
244244
synchronized (unconfirmedSet) {
245-
unconfirmedSet.notify();
245+
unconfirmedSet.notifyAll();
246246
}
247247
}
248248

@@ -1028,7 +1028,7 @@ protected void handleAckNack(long seqNo, boolean multiple, boolean nack) {
10281028
synchronized (unconfirmedSet) {
10291029
onlyAcksReceived = onlyAcksReceived && !nack;
10301030
if (unconfirmedSet.isEmpty())
1031-
unconfirmedSet.notify();
1031+
unconfirmedSet.notifyAll();
10321032
}
10331033
}
10341034
}

0 commit comments

Comments
 (0)