Removed unnecessary duplicate cancellation
This commit is contained in:
parent
cd24a10d20
commit
f7ebba7ce4
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user