This is an automated email from the ASF dual-hosted git repository.

tokers pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/apisix.git


The following commit(s) were added to refs/heads/master by this push:
     new e4f0491  chore(zipkin): don't refer to a released ctx (#4722)
e4f0491 is described below

commit e4f04911b821540f277825041612f84a9c19a519
Author: 罗泽轩 <[email protected]>
AuthorDate: Sun Aug 1 19:23:50 2021 +0800

    chore(zipkin): don't refer to a released ctx (#4722)
    
    Signed-off-by: spacewander <[email protected]>
---
 apisix/plugins/zipkin.lua | 1 +
 1 file changed, 1 insertion(+)

diff --git a/apisix/plugins/zipkin.lua b/apisix/plugins/zipkin.lua
index 2d74f33..cb261c6 100644
--- a/apisix/plugins/zipkin.lua
+++ b/apisix/plugins/zipkin.lua
@@ -281,6 +281,7 @@ function _M.log(conf, ctx)
 
     if ctx.zipkin_ctx then
         core.tablepool.release("zipkin_ctx", ctx.zipkin_ctx)
+        ctx.zipkin_ctx = nil
     end
 end
 

Reply via email to