code-reviews

dazld 2018-10-16T09:54:02.000100Z

@noisesmith thank you so much, that was really, really cool

dazld 2018-10-16T09:54:42.000100Z

I’m wondering about GC - if I don’t explicitly close a channel, it’ll sit there forever, as well as anything it closed over… is that a big deal?

dazld 2018-10-16T09:54:54.000100Z

(seems like it could be to me…)

2018-10-16T16:02:16.000100Z

channels are basically collections of callbacks, which are not gc roots

👍 1
2018-10-16T16:02:47.000100Z

if you have a channel with a go block parked on it (either taking or putting), and no other references it is eligible for gc

2018-10-16T16:03:40.000100Z

timeout channels are globally referenced though