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 2008/09/17 20:58:53 UTC

svn commit: r696396 - /activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/main/csharp/Transport/Tcp/TcpTransport.cs

Author: jgomes
Date: Wed Sep 17 11:58:53 2008
New Revision: 696396

URL: http://svn.apache.org/viewvc?rev=696396&view=rev
Log:
Removed call to Monitor.Exit().
Fixes [AMQNET-112]. (See https://issues.apache.org/activemq/browse/AMQNET-112)

Modified:
    activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/main/csharp/Transport/Tcp/TcpTransport.cs

Modified: activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/main/csharp/Transport/Tcp/TcpTransport.cs
URL: http://svn.apache.org/viewvc/activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/main/csharp/Transport/Tcp/TcpTransport.cs?rev=696396&r1=696395&r2=696396&view=diff
==============================================================================
--- activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/main/csharp/Transport/Tcp/TcpTransport.cs (original)
+++ activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/main/csharp/Transport/Tcp/TcpTransport.cs Wed Sep 17 11:58:53 2008
@@ -127,8 +127,7 @@
 				}
 				catch(Exception ex)
 				{
-					Monitor.Exit(myLock);
-					if (command.ResponseRequired)
+					if(command.ResponseRequired)
 					{
 						// Make sure that something higher up doesn't get blocked.
 						// Respond with an exception.