Author: clebert.suconic
Date: 2012-02-27 15:40:42 -0500 (Mon, 27 Feb 2012)
New Revision: 12210
Modified:
trunk/hornetq-core/src/main/java/org/hornetq/core/client/impl/ClientSessionImpl.java
Log:
https://issues.jboss.org/browse/JBPAPP-8243 - duh
Modified:
trunk/hornetq-core/src/main/java/org/hornetq/core/client/impl/ClientSessionImpl.java
===================================================================
---
trunk/hornetq-core/src/main/java/org/hornetq/core/client/impl/ClientSessionImpl.java 2012-02-27
20:35:44 UTC (rev 12209)
+++
trunk/hornetq-core/src/main/java/org/hornetq/core/client/impl/ClientSessionImpl.java 2012-02-27
20:40:42 UTC (rev 12210)
@@ -1908,7 +1908,7 @@
private void doCleanup(boolean failingOver)
{
- if (remotingConnection == null)
+ if (remotingConnection != null)
{
remotingConnection.removeFailureListener(this);
}