On Fri, Sep 23, 2016 at 9:13 AM, Sam Whited <s...@samwhited.com> wrote:
> The time.After channel isn't garbage collected until after the function 
> returns (when
> it goes out of scope).

I'm sorry, I just re-read my original email and it was very confusing;
in the current code the timer is in fact GCed after each iteration of
the loop; I think I misunderstood your intent here.

Best,
Sam

-- 
Sam Whited
pub 4096R/54083AE104EA7AD3

-- 
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.

Reply via email to