Skip to content

Commit 0900f0d

Browse files
author
Stephane Landelle
committed
The future isn't null here
1 parent 3c4e252 commit 0900f0d

File tree

1 file changed

+1
-1
lines changed
  • src/main/java/com/ning/http/client/providers/netty/handler

1 file changed

+1
-1
lines changed

src/main/java/com/ning/http/client/providers/netty/handler/Processor.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ public void channelClosed(ChannelHandlerContext ctx, ChannelStateEvent e) throws
135135

136136
protocol.onClose(future);
137137

138-
if (future == null || future.isDone())
138+
if (future.isDone())
139139
channelManager.closeChannel(channel);
140140

141141
else if (!requestSender.retry(future, ctx.getChannel()))

0 commit comments

Comments
 (0)