attempting to improve close()

This commit is contained in:
Rob Austin
2014-11-11 22:20:56 +00:00
parent 601ba9f87d
commit 0692ded8b6
2 changed files with 3 additions and 6 deletions
@@ -135,6 +135,7 @@ abstract class AbstractChannelReplicator implements Closeable {
@Override
public void close() {
isClosed = true;
executorService.shutdown();
closeables.closeQuietly();
executorService.shutdownNow();