[AMQ-8462] Remove double call to listConnectionStates during connection close

This commit is contained in:
Matt Pavlovich 2022-01-24 09:21:19 -06:00
parent 3d2fb2b609
commit 6a944a05d9
1 changed files with 0 additions and 1 deletions

View File

@ -1227,7 +1227,6 @@ public class TransportConnection implements Connection, Task, CommandVisitor {
// from the broker.
if (!broker.isStopped()) {
List<TransportConnectionState> connectionStates = listConnectionStates();
connectionStates = listConnectionStates();
for (TransportConnectionState cs : connectionStates) {
cs.getContext().getStopping().set(true);
try {