Fix class-cast exception which is a regression introduces in 256c931db20fbfaf597e501b74a34fd850c7f948
This commit is contained in:
parent
526dafca75
commit
9599bfd569
@ -835,7 +835,7 @@ final class DefaultChannelHandlerContext extends DefaultAttributeMap implements
|
|||||||
}
|
}
|
||||||
|
|
||||||
private void invokeExceptionCaught0(Throwable cause) {
|
private void invokeExceptionCaught0(Throwable cause) {
|
||||||
ChannelStateHandler handler = (ChannelStateHandler) handler();
|
ChannelHandler handler = handler();
|
||||||
try {
|
try {
|
||||||
handler.exceptionCaught(this, cause);
|
handler.exceptionCaught(this, cause);
|
||||||
} catch (Throwable t) {
|
} catch (Throwable t) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user