shutdownLatch.release not invoked in some cases

pull/365/head
Nikita 9 years ago
parent 55a2df687b
commit c20e550dae

@ -460,6 +460,7 @@ public class CommandAsyncService implements CommandAsyncExecutor {
}
if (!details.getConnectionFuture().isSuccess()) {
connectionManager.getShutdownLatch().release();
details.setException(convertException(details.getConnectionFuture()));
return;
}

@ -333,6 +333,7 @@ public class CommandBatchService extends CommandReactiveService {
}
if (!connFuture.isSuccess()) {
connectionManager.getShutdownLatch().release();
details.setException(convertException(connFuture));
return;
}

Loading…
Cancel
Save