Skip to content

add RegisterCloser to ThreadGroup

Luke Champine requested to merge shutdown into master

This makes it clean and easy to close net.Conns and net.Listeners during shutdown. No extra goroutines needed.

My only concern is that it's a little opaque. But I think the tradeoff is worth it.

Merge request reports