mirror of https://github.com/apache/activemq.git
[AMQ-8462] Remove double call to listConnectionStates during connection close
This commit is contained in:
parent
3d2fb2b609
commit
6a944a05d9
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue