activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jgo...@apache.org
Subject svn commit: r1376782 - /activemq/activemq-dotnet/Apache.NMS.ActiveMQ/branches/1.5.x/src/main/csharp/Connection.cs
Date Thu, 23 Aug 2012 23:42:11 GMT
Author: jgomes
Date: Thu Aug 23 23:42:11 2012
New Revision: 1376782

URL: http://svn.apache.org/viewvc?rev=1376782&view=rev
Log:
Call Stop() on the transport layer before disposing of it to ensure that the ResponseCorrelator
(and other transports) are properly cleaned up.
Fixes https://issues.apache.org/jira/browse/AMQNET-395

Modified:
    activemq/activemq-dotnet/Apache.NMS.ActiveMQ/branches/1.5.x/src/main/csharp/Connection.cs

Modified: activemq/activemq-dotnet/Apache.NMS.ActiveMQ/branches/1.5.x/src/main/csharp/Connection.cs
URL: http://svn.apache.org/viewvc/activemq/activemq-dotnet/Apache.NMS.ActiveMQ/branches/1.5.x/src/main/csharp/Connection.cs?rev=1376782&r1=1376781&r2=1376782&view=diff
==============================================================================
--- activemq/activemq-dotnet/Apache.NMS.ActiveMQ/branches/1.5.x/src/main/csharp/Connection.cs
(original)
+++ activemq/activemq-dotnet/Apache.NMS.ActiveMQ/branches/1.5.x/src/main/csharp/Connection.cs
Thu Aug 23 23:42:11 2012
@@ -586,6 +586,7 @@ namespace Apache.NMS.ActiveMQ
                     executor.Shutdown();
 
                     Tracer.DebugFormat("Connection[{0}]: Disposing of the Transport.", this.ConnectionId);
+					transport.Stop();
                     transport.Dispose();
                 }
                 catch(Exception ex)



Mime
View raw message