mirror of https://github.com/apache/activemq.git
Avoid deadlock described at: https://issues.apache.org/activemq/browse/AMQ-1468
Synchronization not really required once the transport errors out.. git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@587198 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
328229b42b
commit
6bb7fba3c5
|
@ -154,9 +154,7 @@ public class InactivityMonitor extends TransportFilter {
|
|||
if (monitorStarted.get()) {
|
||||
stopMonitorThreads();
|
||||
}
|
||||
synchronized (readChecker) {
|
||||
transportListener.onException(error);
|
||||
}
|
||||
transportListener.onException(error);
|
||||
}
|
||||
|
||||
private synchronized void startMonitorThreads() throws IOException {
|
||||
|
|
Loading…
Reference in New Issue