On Mon, Mar 2, 2020 at 6:56 AM burak serdar <bser...@computer.org> wrote:
> At this point, channel receive is still holding a reference to the > channel (right?), so GC cannot free it. Depends very much on what code the compiler for channel receive generates and on the code in the runtime that implements the channel receive. There are no data races that can be guaranteed 100% safe from the language specification/memory model POV. -- 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/CAA40n-X2o4ttzSrpKzvhNbeyHFJdok5gpE-aMf6RJjjGLJoc7A%40mail.gmail.com.