nettywebsocket服务器,在不使用线程池的情况下正常,只要一用线程池,不一会儿就报这个错,说是ByteBuf没释放,但是在不使用线程池时候就没这个问题,求大佬给点解决思路,急急急
io.netty.util.ResourceLeakDetector.reportUntracedLeak(296) | LEAK: ByteBuf.release() was not called before it’s garbage-collected. Enable advanced leak reporting to find out where the leak occurred. To enable advanced leak reporting, specify the JVM option ‘-Dio.netty.leakDetection.level=advanced’ or call ResourceLeakDetector.setLevel() See Netty.docs: Reference counted objects for more information.
下面是贴的代码
