ARTEMIS-1305 Avoid deadlock when shutting down RA and reconnects

This commit is contained in:
Clebert Suconic 2017-07-28 11:53:09 -04:00
parent 2428c9ca1c
commit 7adc8339c7
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()");
}
try {
if (connection != null) {
connection.stop();
}
} catch (Throwable t) {
logger.trace("Ignored error stopping connection", t);
}
for (ActiveMQRASession session : handles) {
session.destroy();
}