Commit 8736cbe1 authored by Nils Goroll's avatar Nils Goroll

VDP_close() in req_fini - this is possibly duplicate

but better safe than sorry
parent d120f955
......@@ -714,10 +714,6 @@ set_delivered(struct bytes_tree *tree, struct node *node)
assert(node->state == ST_CLOSED);
(void) HSH_DerefObjCore(req->wrk, &node->nexus.oc, 0);
}
CHECK_OBJ_NOTNULL(node->req, REQ_MAGIC);
if (node->parent != NULL)
VDP_close(node->req);
}
node->state = ST_DELIVERED;
......@@ -940,6 +936,7 @@ req_fini(struct req **reqp, struct worker *wrk)
VSLdbg(req, "req_fini called");
VDP_close(req);
Req_Cleanup(req->sp, wrk, req);
Req_Release(req);
}
......@@ -1375,7 +1372,7 @@ fini_subreq(struct req *req, struct node *node)
TAKE_OBJ_NOTNULL(boc, &node->subreq.boc, BOC_MAGIC);
AZ(node->subreq.oc);
VDP_close(subreq);
VDP_close(subreq); // need before pesi_destroy
/* bottom of cnt_transmit() */
HSH_Cancel(req->wrk, subreq->objcore, boc);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment