On Thu, Apr 5, 2018 at 9:10 AM T L <[email protected]> wrote:

> yes. it is a resource leak.

It's not necessarily a leak. It's a possible leak.

And digging even deeper: it's implementation defined. Non-reachable
channels can be collected and goroutines blocked on them killed without
changing the semantics of the program.
-- 

-j

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

Reply via email to