aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/debug
diff options
context:
space:
mode:
authorCarlos Amedee <carlos@golang.org>2025-02-14 12:39:44 -0500
committerCarlos Amedee <carlos@golang.org>2025-02-24 09:11:32 -0800
commite382bf5b322c9814e910212ebd19907b68606c49 (patch)
treeead35ee5b83f5b703e3beb65b490a564d4925a45 /src/runtime/debug
parentfba83cdfc6c4818af5b773afa39e457d16a6db7a (diff)
downloadgo-e382bf5b322c9814e910212ebd19907b68606c49.tar.xz
unique: use runtime.AddCleanup instead of runtime.SetFinalizer
Replace the usage of runtime.SetFinalizer with runtime.AddCleanup in tests. Updates #70907 Change-Id: I0d91b6af9643bde278215318f6176277373ddd19 Reviewed-on: https://go-review.googlesource.com/c/go/+/649458 Reviewed-by: Michael Knyszek <mknyszek@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Diffstat (limited to 'src/runtime/debug')
0 files changed, 0 insertions, 0 deletions