会话已经被关闭了,再在会话上进行IO操作异常
335336337338339340341342343344345
WriteFuture future = new WriteFuture(this, ByteBuffer.wrap(msg.getContent())); //会话已经被关闭了 if(isClose) { future.setComplete(new ClosedSessionException("会话已经被关闭了....")); return future; } if(!this.isCloseing.get()) { this.writeQueue.offer(future);