Fork me on GitHub
#code-reviews
<
2018-10-16
>
dazld09:10:02

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

dazld09:10:42

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?

dazld09:10:54

(seems like it could be to me…)

hiredman16:10:16

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

👍 4
hiredman16:10:47

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

hiredman16:10:40

timeout channels are globally referenced though