On Tue, Sep 14, 2010 at 3:27 PM, Mathieu Lonjaret
<[email protected]> wrote:
>
> isn't that what chanclose()/chanclosing() is for?
>
> - erik
>
>

Not at all. Chanclose and chanclosing are to be used while the channel
still exists.
A closed channel is not a freed channel. Close/closing are useful for
synchronizing the cleanup
but no other operation should be done on a channel after it has been
freed because
the channel no longer exists.

-- 
- curiosity sKilled the cat

Reply via email to