ARTEMIS-1305 Avoid deadlock when shutting down RA and reconnects
This commit is contained in:
parent
2428c9ca1c
commit
7adc8339c7
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue