qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrew Kennedy <andrewinternatio...@gmail.com>
Subject Re: MINANetworkDriver.sessionClosed does not get called at times
Date Sat, 26 Mar 2011 13:45:41 GMT
> 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:dev-subscribe@qpid.apache.org


Mime
View raw message