Skip to content

Commit dd8b151

Browse files
author
Steve Powell
committed
Call notifyListeners() on channels that are shutdown by the channelManager().
1 parent 983131c commit dd8b151

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ public ChannelManager(ConsumerWorkService workService, int channelMax) {
5959
}
6060
_channelMax = channelMax;
6161
channelNumberAllocator = new IntAllocator(1, channelMax);
62-
62+
6363
this.workService = workService;
6464
}
6565

@@ -86,6 +86,7 @@ public void handleSignal(ShutdownSignalException signal) {
8686
releaseChannelNumber(channel);
8787
channel.processShutdownSignal(signal, true, true);
8888
shutdownSet.add(channel.getShutdownLatch());
89+
channel.notifyListeners();
8990
}
9091
scheduleShutdownProcessing();
9192
}

0 commit comments

Comments
 (0)