From 6970c33396ae8911dc7c4435bdcdb7b0a2fd22d3 Mon Sep 17 00:00:00 2001 From: eaglexiang Date: Thu, 12 Dec 2024 14:15:35 +0800 Subject: [PATCH] =?UTF-8?q?Begin=20=E5=85=BC=E5=AE=B9=E9=81=97=E6=BC=8F=20?= =?UTF-8?q?Init=20=E7=9A=84=E5=9C=BA=E6=99=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- costwhere.go | 1 + 1 file changed, 1 insertion(+) diff --git a/costwhere.go b/costwhere.go index 6bf5a35..2c9f412 100644 --- a/costwhere.go +++ b/costwhere.go @@ -38,6 +38,7 @@ func Begin(ctx context.Context, topic string) (newCtx context.Context) { // 读取父级栈帧 parent, ok := readThis(ctx) if !ok { + newCtx = ctx return }