https://play.golang.org/p/iBAii-f84Sq

vet is complaining because the unsafe.Pointer usage would normally be 
dangerous around the garbage collector, but since I have a finalizer on the 
"real" pointer and there is no way the code could access the uintptr with 
the same value as the real pointer once the finalizer has run or been 
removed by Close, shouldn't this code be safe?

-- 
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.
For more options, visit https://groups.google.com/d/optout.

Reply via email to