The tailscale article https://tailscale.com/blog/netaddr-new-ip-type-for-go/ mentions a finalizer trick.
The SetFinalizer docs says the finalizer of an object is not guaranteed to be run. So the tailscale trick is valid, could I think that an object is not collected for sure if it has a finalizer and the finalizer has not run yet? -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/35f08f19-6e73-4511-82dd-63867160f9d8n%40googlegroups.com.