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

(cherry picked from commit 6a944a05d9)
This commit is contained in:
Matt Pavlovich 2022-01-24 09:21:19 -06:00 committed by Jean-Baptiste Onofré
parent 7a8d517436
commit f1b37e0a4f
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 {