Uniq deprecated notes

This commit is contained in:
世界
2024-11-07 19:58:46 +08:00
parent 88099a304a
commit 21faadb992
4 changed files with 22 additions and 13 deletions

View File

@@ -30,7 +30,7 @@ func check() error {
if err != nil {
return err
}
ctx, cancel := context.WithCancel(context.Background())
ctx, cancel := context.WithCancel(globalCtx)
instance, err := box.New(box.Options{
Context: ctx,
Options: options,