mirror of
https://github.com/golang/go
synced 2024-11-22 20:50:05 -07:00
0531768b30
This change introduces AddCleanup to the runtime package. AddCleanup attaches a cleanup function to an pointer to an object. The Stop method on Cleanups will be implemented in a followup CL. AddCleanup is intended to be an incremental improvement over SetFinalizer and will result in SetFinalizer being deprecated. For #67535 Change-Id: I99645152e3fdcee85fcf42a4f312c6917e8aecb1 Reviewed-on: https://go-review.googlesource.com/c/go/+/627695 LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Michael Knyszek <mknyszek@google.com> |
||
---|---|---|
.. | ||
32936.txt | ||
36532.txt | ||
51473.txt | ||
54670.txt | ||
61515.txt | ||
61901.txt | ||
62005.txt | ||
62384.txt | ||
62516.txt | ||
63952.txt | ||
66626.txt | ||
67535.txt | ||
67813.txt | ||
67814.txt |