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:
Hiram R. Chirino 2007-10-22 19:01:16 +00:00
parent 328229b42b
commit 6bb7fba3c5
1 changed files with 1 additions and 3 deletions

View File

@ -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 {