On Saturday, April 25, 2020 at 1:53:28 AM UTC-4, Brian Candler wrote: > > On Saturday, 25 April 2020 06:35:22 UTC+1, T L wrote: >> >> Why is each of the finalizers called twice? >> > > > Isn't it just printed once in main and once in finalizer? > https://play.golang.org/p/7aY9NA1AFNa > > Aha, I'm sorry I forgot that println line. I thought all the lines are printed in finalizers. ;D
-- 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/bef84b46-8e95-42b6-b7f9-68830c1eab3f%40googlegroups.com.