Merge pull request #746 from mattrpav/AMQ-8462

[AMQ-8462] Remove double call to listConnectionStates during connecti…
This commit is contained in:
Jean-Baptiste Onofré 2022-01-24 18:47:16 +01:00 committed by GitHub
commit d5441530a9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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 {