Recycle messagelist when channel goes inactive (reverted from commit daa58ffe58
)
This commit is contained in:
parent
8c2bea5be2
commit
55a6cc56ef
@ -15,7 +15,7 @@ public class ChannelWrapper
|
||||
private final Channel ch;
|
||||
@Getter
|
||||
private volatile boolean closed;
|
||||
final MessageList<Object> queue = MessageList.newInstance();
|
||||
private final MessageList<Object> queue = MessageList.newInstance();
|
||||
private volatile boolean flushNow = true;
|
||||
|
||||
public ChannelWrapper(ChannelHandlerContext ctx)
|
||||
|
@ -56,7 +56,6 @@ public class HandlerBoss extends ChannelInboundHandlerAdapter
|
||||
ProxyServer.getInstance().getLogger().log( Level.INFO, "{0} has disconnected", handler );
|
||||
}
|
||||
}
|
||||
channel.queue.recycle();
|
||||
}
|
||||
|
||||
@Override
|
||||
|
Loading…
Reference in New Issue
Block a user