Skip to content

Commit 365a2f9

Browse files
author
Tim Watson
committed
release channel ids after sending close.ok
1 parent 3ba1801 commit 365a2f9

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
@@ -471,7 +471,6 @@ private void callConfirmListeners(@SuppressWarnings("unused") Command command, B
471471
}
472472

473473
private void asyncShutdown(Command command) throws IOException {
474-
releaseChannel();
475474
ShutdownSignalException signal = new ShutdownSignalException(false,
476475
false,
477476
command,
@@ -484,6 +483,7 @@ private void asyncShutdown(Command command) throws IOException {
484483
notifyOutstandingRpc(signal);
485484
}
486485
}
486+
releaseChannel();
487487
notifyListeners();
488488
}
489489

0 commit comments

Comments
 (0)