You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
当类SimpleChannelInboundHandler中的channelRead0方法正在执行的时候,客户端突然退出了,这时候channelInactive方法一定要等到channelRead0执行完成后才能被触发,这种情况会导致客户端 退出的时候一些缓存得不到及时释放,我不知道netty的机制是不是本身就是如此,是否有机制使channelInactive方法不受channelRead0方法的影响。
When the class SimpleChannelInboundHandler channelRead0 method is executed, the client suddenly quit, then channelInactive method must wait until channelRead0 after completion of execution can be triggered, This will cause some caches to not be released in time when the client exits. I don't know if the Netty mechanic itself is like that, Is there a mechanism to make the channelInactive method independent of the channelRead0 method?
The text was updated successfully, but these errors were encountered:
当类SimpleChannelInboundHandler中的channelRead0方法正在执行的时候,客户端突然退出了,这时候channelInactive方法一定要等到channelRead0执行完成后才能被触发,这种情况会导致客户端 退出的时候一些缓存得不到及时释放,我不知道netty的机制是不是本身就是如此,是否有机制使channelInactive方法不受channelRead0方法的影响。
When the class SimpleChannelInboundHandler channelRead0 method is executed, the client suddenly quit, then channelInactive method must wait until channelRead0 after completion of execution can be triggered, This will cause some caches to not be released in time when the client exits. I don't know if the Netty mechanic itself is like that, Is there a mechanism to make the channelInactive method independent of the channelRead0 method?
The text was updated successfully, but these errors were encountered: