This commit is contained in:
Redkale
2017-03-24 11:11:11 +08:00
parent 30103e5c8f
commit 0366aef672

View File

@@ -162,6 +162,7 @@ public abstract class Response<C extends Context, R extends Request<C>> {
}
public void finish(boolean kill) {
if (!this.inited) return; //重复关闭
//System.println("耗时: " + (System.currentTimeMillis() - request.createtime));
if (kill) refuseAlive();
this.context.responsePool.offer(this);