mirror of https://github.com/apache/activemq.git
Merge pull request #746 from mattrpav/AMQ-8462
[AMQ-8462] Remove double call to listConnectionStates during connecti…
This commit is contained in:
commit
d5441530a9
|
@ -1227,7 +1227,6 @@ public class TransportConnection implements Connection, Task, CommandVisitor {
|
||||||
// from the broker.
|
// from the broker.
|
||||||
if (!broker.isStopped()) {
|
if (!broker.isStopped()) {
|
||||||
List<TransportConnectionState> connectionStates = listConnectionStates();
|
List<TransportConnectionState> connectionStates = listConnectionStates();
|
||||||
connectionStates = listConnectionStates();
|
|
||||||
for (TransportConnectionState cs : connectionStates) {
|
for (TransportConnectionState cs : connectionStates) {
|
||||||
cs.getContext().getStopping().set(true);
|
cs.getContext().getStopping().set(true);
|
||||||
try {
|
try {
|
||||||
|
|
Loading…
Reference in New Issue