Skip to content

Commit 3f28409

Browse files
author
Emile Joubert
committed
Apply bug25509 on stable branch
1 parent a448471 commit 3f28409

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -469,7 +469,6 @@ private void callConfirmListeners(@SuppressWarnings("unused") Command command, B
469469
}
470470

471471
private void asyncShutdown(Command command) throws IOException {
472-
releaseChannel();
473472
ShutdownSignalException signal = new ShutdownSignalException(false,
474473
false,
475474
command,
@@ -479,6 +478,7 @@ private void asyncShutdown(Command command) throws IOException {
479478
processShutdownSignal(signal, true, false);
480479
quiescingTransmit(new Channel.CloseOk());
481480
} finally {
481+
releaseChannel();
482482
notifyOutstandingRpc(signal);
483483
}
484484
}

0 commit comments

Comments
 (0)