mirror of
https://gitee.com/iresty/apisix.git
synced 2024-12-02 03:58:02 +08:00
fix(xRPC): release ctx.var when ctx is done (#7045)
Signed-off-by: spacewander <spacewanderlzx@gmail.com>
This commit is contained in:
parent
7131ee7de9
commit
d95500948d
@ -50,6 +50,8 @@ local function put_req_ctx(session, ctx)
|
||||
local id = ctx._id
|
||||
session._ctxs[id] = nil
|
||||
|
||||
core.ctx.release_vars(ctx)
|
||||
|
||||
core.tablepool.release("xrpc_ctxs", ctx)
|
||||
end
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user