ARTEMIS-1305 Avoid deadlock when shutting down RA and reconnects

(cherry picked from commit 7adc8339c7)
This commit is contained in:
Clebert Suconic 2017-07-28 11:53:09 -04:00
parent e1d6f6cb87
commit 8e7d4fb34e
1 changed files with 0 additions and 8 deletions

View File

@ -221,14 +221,6 @@ public final class ActiveMQRAManagedConnection implements ManagedConnection, Exc
ActiveMQRALogger.LOGGER.trace("destroyHandles()"); ActiveMQRALogger.LOGGER.trace("destroyHandles()");
} }
try {
if (connection != null) {
connection.stop();
}
} catch (Throwable t) {
logger.trace("Ignored error stopping connection", t);
}
for (ActiveMQRASession session : handles) { for (ActiveMQRASession session : handles) {
session.destroy(); session.destroy();
} }