From 7498e0f9131394d989f785ada634744a39f3b567 Mon Sep 17 00:00:00 2001 From: Jeff Pinner Date: Sun, 17 Mar 2013 12:03:16 -0700 Subject: [PATCH] make deregister protected in ThreadPerChannelEventLoop --- .../main/java/io/netty/channel/ThreadPerChannelEventLoop.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/transport/src/main/java/io/netty/channel/ThreadPerChannelEventLoop.java b/transport/src/main/java/io/netty/channel/ThreadPerChannelEventLoop.java index e810fcc0d0..1232fd5f33 100644 --- a/transport/src/main/java/io/netty/channel/ThreadPerChannelEventLoop.java +++ b/transport/src/main/java/io/netty/channel/ThreadPerChannelEventLoop.java @@ -76,7 +76,7 @@ public class ThreadPerChannelEventLoop extends SingleThreadEventLoop { } } - private void deregister() { + protected void deregister() { ch = null; parent.activeChildren.remove(this); parent.idleChildren.add(this);