This closes #688

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

View File

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