Skip to content

Commit

Permalink
HIVE-16459: Forward channelInactive to RpcDispatcher (Rui reviewed by…
Browse files Browse the repository at this point in the history
… Xuefu)
  • Loading branch information
lirui-apache committed Apr 20, 2017
1 parent 4c9986b commit b0a7c13
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -237,8 +237,9 @@ private Rpc(RpcConfiguration config, Channel channel, EventExecutorGroup egroup)
// Note: this does not work for embedded channels.
channel.pipeline().addLast("monitor", new ChannelInboundHandlerAdapter() {
@Override
public void channelInactive(ChannelHandlerContext ctx) {
public void channelInactive(ChannelHandlerContext ctx) throws Exception {
close();
super.channelInactive(ctx);
}
});
}
Expand Down

0 comments on commit b0a7c13

Please sign in to comment.