You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by jb...@apache.org on 2022/01/24 17:47:22 UTC
[activemq] branch main updated: [AMQ-8462] Remove double call to listConnectionStates during connection close
This is an automated email from the ASF dual-hosted git repository.
jbonofre pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/activemq.git
The following commit(s) were added to refs/heads/main by this push:
new 6a944a0 [AMQ-8462] Remove double call to listConnectionStates during connection close
new d544153 Merge pull request #746 from mattrpav/AMQ-8462
6a944a0 is described below
commit 6a944a05d90b3f2d44c9890a5724e7a6a702a0eb
Author: Matt Pavlovich <ma...@hyte.io>
AuthorDate: Mon Jan 24 09:21:19 2022 -0600
[AMQ-8462] Remove double call to listConnectionStates during connection close
---
.../src/main/java/org/apache/activemq/broker/TransportConnection.java | 1 -
1 file changed, 1 deletion(-)
diff --git a/activemq-broker/src/main/java/org/apache/activemq/broker/TransportConnection.java b/activemq-broker/src/main/java/org/apache/activemq/broker/TransportConnection.java
index ac827b8..f239df1 100644
--- a/activemq-broker/src/main/java/org/apache/activemq/broker/TransportConnection.java
+++ b/activemq-broker/src/main/java/org/apache/activemq/broker/TransportConnection.java
@@ -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 {