Author: jgomes
Date: Thu Aug 23 23:44:44 2012
New Revision: 1376786
URL: http://svn.apache.org/viewvc?rev=1376786&view=rev
Log:
Merged revision(s) 1376784 from
activemq/activemq-dotnet/Apache.NMS.Stomp/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.Stomp/trunk/ (props changed)
activemq/activemq-dotnet/Apache.NMS.Stomp/trunk/src/main/csharp/Connection.cs
Propchange: activemq/activemq-dotnet/Apache.NMS.Stomp/trunk/
------------------------------------------------------------------------------
Merged /activemq/activemq-dotnet/Apache.NMS.Stomp/branches/1.5.x:r1376784
Modified:
activemq/activemq-dotnet/Apache.NMS.Stomp/trunk/src/main/csharp/Connection.cs
URL:
http://svn.apache.org/viewvc/activemq/activemq-dotnet/Apache.NMS.Stomp/trunk/src/main/csharp/Connection.cs?rev=1376786&r1=1376785&r2=1376786&view=diff
==============================================================================
---
activemq/activemq-dotnet/Apache.NMS.Stomp/trunk/src/main/csharp/Connection.cs
(original)
+++
activemq/activemq-dotnet/Apache.NMS.Stomp/trunk/src/main/csharp/Connection.cs
Thu Aug 23 23:44:44 2012
@@ -443,6 +443,7 @@ namespace Apache.NMS.Stomp
}
Tracer.Info("Disposing of the Transport.");
+ transport.Stop();
transport.Dispose();
}
catch(Exception ex)