activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tab...@apache.org
Subject svn commit: r1051966 - /activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/main/csharp/Transport/Failover/BackupTransport.cs
Date Wed, 22 Dec 2010 16:09:44 GMT
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();
+                }
             }
         }
 



Mime
View raw message