You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by jg...@apache.org on 2012/08/24 01:43:52 UTC

svn commit: r1376785 - in /activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk: ./ src/main/csharp/Connection.cs

Author: jgomes
Date: Thu Aug 23 23:43:52 2012
New Revision: 1376785

URL: http://svn.apache.org/viewvc?rev=1376785&view=rev
Log:
Merged revision(s) 1376782 from activemq/activemq-dotnet/Apache.NMS.ActiveMQ/branches/1.5.x:
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/trunk/   (props changed)
    activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/main/csharp/Connection.cs

Propchange: activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/
------------------------------------------------------------------------------
  Merged /activemq/activemq-dotnet/Apache.NMS.ActiveMQ/branches/1.5.x:r1376782

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