Skip to content

Commit c2d54eb

Browse files
author
Stephane Landelle
committed
the future is never null
1 parent 5fc67a2 commit c2d54eb

File tree

1 file changed

+1
-1
lines changed
  • providers/netty/src/main/java/org/asynchttpclient/providers/netty/handler

1 file changed

+1
-1
lines changed

providers/netty/src/main/java/org/asynchttpclient/providers/netty/handler/Processor.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ public void channelInactive(ChannelHandlerContext ctx) throws Exception {
115115

116116
protocol.onClose(future);
117117

118-
if (future == null || future.isDone())
118+
if (future.isDone())
119119
channelManager.closeChannel(channel);
120120

121121
else if (!requestSender.retry(future, channel))

0 commit comments

Comments
 (0)