On Thursday, April 5, 2018 at 3:32:53 AM UTC-4, Jan Mercl wrote: > > On Thu, Apr 5, 2018 at 9:10 AM T L <tapi...@gmail.com <javascript:>> > 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 >
There is an issue to do this, but it is denied. https://github.com/golang/go/issues/19702 -- 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.