aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/internal/script/scripttest
diff options
context:
space:
mode:
authorCarlos Amedee <carlos@golang.org>2025-04-23 12:30:52 -0400
committerCarlos Amedee <carlos@golang.org>2025-05-13 14:02:58 -0700
commitb4e992b6e1a3eb6985814ac074ad3057ab21c40a (patch)
tree0504fd7a882ee571481029bbe96ce65e28809c05 /src/cmd/internal/script/scripttest
parentafd6b0bc663cf49e74200729da91785219d28b53 (diff)
downloadgo-b4e992b6e1a3eb6985814ac074ad3057ab21c40a.tar.xz
reflect: use runtime.AddCleanup instead of runtime.SetFinalizer
Replace a usage of runtime.SetFinalizer with runtime.AddCleanup in the TestCallReturnsEmpty test. There is an additional use of SetFinalizer in the reflect package which depends on object resurrection and needs further refactoring to replace. Updates #70907 Change-Id: I4c0e56c35745a225776bd611d026945efdaf96f5 Reviewed-on: https://go-review.googlesource.com/c/go/+/667595 Reviewed-by: Michael Knyszek <mknyszek@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Diffstat (limited to 'src/cmd/internal/script/scripttest')
0 files changed, 0 insertions, 0 deletions