AMQProtocolSession channelId2SessionMap does not have sessions removed
----------------------------------------------------------------------
Key: QPID-476
URL: https://issues.apache.org/jira/browse/QPID-476
Project: Qpid
Issue Type: Bug
Components: Java Client
Affects Versions: M2
Reporter: Rob Godfrey
Assigned To: Rob Godfrey
Fix For: M2
The map from channelId to AMQSession in AMQProtocolSession is not updated when
sessions are closed, hence the AMQSession objects are still referenced and will
never be GC'd.
The map is, anyway, duplicated with another map inside AMQConnection
(_sessions).
Solution: remove the duplicate map inside AMQProtocolSession and only use the
map inside AMQConnection
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.