func runtime.SetFinalizer

17 uses

	runtime (current package)
		arena.go#L252: 	SetFinalizer(a, func(a *userArena) {
		arena.go#L311: 	SetFinalizer(a, nil)
		mfinal.go#L388: func SetFinalizer(obj any, finalizer any) {
		pinner.go#L53: 			SetFinalizer(p.pinner, func(i *pinner) {

	crypto/tls
		cache.go#L63: 	runtime.SetFinalizer(a, func(_ *activeCert) {

	internal/intern
		intern.go#L120: 		runtime.SetFinalizer(v, finalize)
		intern.go#L133: 		runtime.SetFinalizer(v, finalize)

	internal/poll
		splice_linux.go#L202: 	runtime.SetFinalizer(p, destroyPipe)
		splice_linux.go#L222: 		runtime.SetFinalizer(p, nil)

	net
		fd_posix.go#L32: 	runtime.SetFinalizer(fd, (*netFD).Close)
		fd_posix.go#L36: 	runtime.SetFinalizer(fd, nil)

	nhooyr.io/websocket
		conn.go#L130: 	runtime.SetFinalizer(c, func(c *Conn) {
		conn.go#L162: 	runtime.SetFinalizer(c, nil)

	os
		exec.go#L30: 	runtime.SetFinalizer(p, (*Process).Release)
		exec_unix.go#L91: 	runtime.SetFinalizer(p, nil)
		file_unix.go#L239: 	runtime.SetFinalizer(f.file, (*file).close)
		file_unix.go#L323: 	runtime.SetFinalizer(file, nil)