func runtime.AddCleanup
7 uses
runtime (current package)
mcleanup.go#L76: func AddCleanup[T, S any](ptr *T, cleanup func(S), arg S) Cleanup {
crypto/internal/fips140cache
cache.go#L45: runtime.AddCleanup(k, c.evict, p)
crypto/tls
cache.go#L33: runtime.AddCleanup(cert, func(_ any) { wcc.CompareAndDelete(string(der), entry) }, any(string(der)))
cache.go#L38: runtime.AddCleanup(cert, func(_ any) { wcc.CompareAndDelete(string(der), wp) }, any(string(der)))
internal/poll
splice_linux.go#L197: p.cleanup = runtime.AddCleanup(p, func(spf splicePipeFields) {
os
exec.go#L143: p.cleanup = runtime.AddCleanup(p, (*processHandle).release, ph)
unique
canonmap.go#L136: runtime.AddCleanup(canon, func(_ struct{}) {
 |
The pages are generated with Golds v0.8.4. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |