You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by ta...@apache.org on 2010/12/22 17:09:44 UTC
svn commit: r1051966 -
/activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/main/csharp/Transport/Failover/BackupTransport.cs
Author: tabish
Date: Wed Dec 22 16:09:44 2010
New Revision: 1051966
URL: http://svn.apache.org/viewvc?rev=1051966&view=rev
Log:
Part of fix for: https://issues.apache.org/jira/browse/AMQNET-298
Modified:
activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/main/csharp/Transport/Failover/BackupTransport.cs
Modified: activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/main/csharp/Transport/Failover/BackupTransport.cs
URL: http://svn.apache.org/viewvc/activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/main/csharp/Transport/Failover/BackupTransport.cs?rev=1051966&r1=1051965&r2=1051966&view=diff
==============================================================================
--- activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/main/csharp/Transport/Failover/BackupTransport.cs (original)
+++ activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/main/csharp/Transport/Failover/BackupTransport.cs Wed Dec 22 16:09:44 2010
@@ -78,6 +78,10 @@ namespace Apache.NMS.ActiveMQ.Transport.
set
{
disposed = value;
+ if(disposed && transport != null)
+ {
+ transport.Dispose();
+ }
}
}