Author: clebert.suconic(a)jboss.com
Date: 2012-01-12 14:59:37 -0500 (Thu, 12 Jan 2012)
New Revision: 12019
Modified:
branches/Branch_2_2_EAP/src/main/org/hornetq/core/protocol/core/impl/RemotingConnectionImpl.java
Log:
https://issues.jboss.org/browse/JBPAPP-7205 - just javadoc
Modified:
branches/Branch_2_2_EAP/src/main/org/hornetq/core/protocol/core/impl/RemotingConnectionImpl.java
===================================================================
---
branches/Branch_2_2_EAP/src/main/org/hornetq/core/protocol/core/impl/RemotingConnectionImpl.java 2012-01-12
12:11:22 UTC (rev 12018)
+++
branches/Branch_2_2_EAP/src/main/org/hornetq/core/protocol/core/impl/RemotingConnectionImpl.java 2012-01-12
19:59:37 UTC (rev 12019)
@@ -377,6 +377,8 @@
}
else
{
+ // We can't hold a lock if a critical error is happening...
+ // as other threads will be holding the lock while hanging on IO
channels.clear();
}