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 2008/08/19 13:02:13 UTC

svn commit: r687019 - /activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/OpenWireConnector.cpp

Author: tabish
Date: Tue Aug 19 04:02:10 2008
New Revision: 687019

URL: http://svn.apache.org/viewvc?rev=687019&view=rev
Log:
https://issues.apache.org/activemq/browse/AMQCPP-194

Modified:
    activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/OpenWireConnector.cpp

Modified: activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/OpenWireConnector.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/OpenWireConnector.cpp?rev=687019&r1=687018&r2=687019&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/OpenWireConnector.cpp (original)
+++ activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/OpenWireConnector.cpp Tue Aug 19 04:02:10 2008
@@ -1400,10 +1400,8 @@
             return;
         }
 
-        synchronized( &mutex ) {
-            // Mark the fact that we are in an error state
-            state = CONNECTION_STATE_ERROR;
-        }
+        // Mark the fact that we are in an error state
+        state = CONNECTION_STATE_ERROR;
 
         // Inform the user of the error.
         fire( ex );