commit | ca08c348e986b870d69b1a64deb15a3de11f4627 | [log] [tgz] |
---|---|---|
author | Jim Gomes <jgomes@apache.org> | Thu Aug 23 23:42:36 2012 +0000 |
committer | Jim Gomes <jgomes@apache.org> | Thu Aug 23 23:42:36 2012 +0000 |
tree | f52fdb9d3e9323c6905747072ef3803ab6cfe93e | |
parent | f9535dfbe4d601a68370bb33fdc0abe67974ade8 [diff] |
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
diff --git a/src/main/csharp/Connection.cs b/src/main/csharp/Connection.cs index 283158d..b62889e 100755 --- a/src/main/csharp/Connection.cs +++ b/src/main/csharp/Connection.cs
@@ -443,6 +443,7 @@ } Tracer.Info("Disposing of the Transport."); + transport.Stop(); transport.Dispose(); } catch(Exception ex)