Removed unnecessary duplicate cancellation

This commit is contained in:
Trustin Lee 2008-12-08 15:19:36 +00:00
parent cd24a10d20
commit f7ebba7ce4

View File

@ -306,7 +306,6 @@ class NioClientSocketPipelineSink extends AbstractChannelSink {
worker.register(ch, ch.connectFuture);
}
} catch (Throwable t) {
k.cancel();
ch.connectFuture.setFailure(t);
fireExceptionCaught(ch, t);
close(k);