https://kotlinlang.org logo
f

feng-zihao

08/23/2016, 3:42 AM
Copy code
override fun exceptionCaught(ctx: ChannelHandlerContext, cause: Throwable) {
        tryCloseChannel(ctx.channel())
        tryCloseChannel(backChn)
        super.exceptionCaught(ctx, cause)
    }