On 25 Mar 2011, at 00:54, Robbie Gemmell wrote:
Actually checking the commits properly this time, the defect was not
introduced by what I thought it was; it has only existed on trunk on March
8th.  0.10 is not affected by this particular leak.

Ah, yes...

So, this is from the transaction timeout code, I added the register/ deregister code to ServerConnection there:

@@ -110,6 +120,7 @@
     public void setVirtualHost(VirtualHost virtualHost)
     {
         _virtualHost = virtualHost;
+        _virtualHost.getConnectionRegistry().registerConnection(this);
     }

I will have to take another look at it.

Andrew.
--
-- andrew d kennedy ? do not fold, bend, spindle, or mutilate ;
-- http://grkvlt.blogspot.com/ ? edinburgh : +44 7582 293 255 ;

---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:[email protected]

Reply via email to