go/src/weak
Carlos Amedee 2f036e1475 weak: test the use of runtime.AddCleanup
This change adds a test case for runtime.AddCleanup.

Updates #70907

Change-Id: I29cba9dc5b40cec8e610215974e61ee47e10d00f
Reviewed-on: https://go-review.googlesource.com/c/go/+/649459
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Michael Knyszek <mknyszek@google.com>
2025-02-25 08:44:32 -08:00
..
doc.go weak: align weak.Pointer documentation with runtime.AddCleanup 2024-12-09 18:29:19 +00:00
pointer.go weak: prevent unsafe conversions using weak pointers 2025-02-06 13:16:59 -08:00
pointer_test.go weak: test the use of runtime.AddCleanup 2025-02-25 08:44:32 -08:00