This closes

This commit is contained in:
Clebert Suconic 2016-07-29 15:27:56 -04:00
commit 6cc01830d1
1 changed files with 1 additions and 1 deletions
artemis-protocols/artemis-openwire-protocol/src/main/java/org/apache/activemq/artemis/core/protocol/openwire

View File

@ -155,7 +155,7 @@ public class OpenWireProtocolManager implements ProtocolManager<Interceptor>, Cl
if (context != null && context.decRefCount() == 0) { if (context != null && context.decRefCount() == 0) {
//connection is still there and need to close //connection is still there and need to close
context.getConnection().disconnect(error != null); context.getConnection().disconnect(error != null);
this.connections.remove(this);//what's that for? this.connections.remove(context.getConnection());
this.clientIdSet.remove(clientId); this.clientIdSet.remove(clientId);
} }
} }