Closed r0l1 closed 6 years ago
I commonly use the following style to wait until a connection closes to handle further cleanup...
go func() { <-session.CloseChan() // Do some cleanup, close other parent connections... }()
Would be great to see this feature upstream.
Is there any reason not to pull this one? We've made the same change upstream and I'm looking forward to see this one pulled upstream.
Any updates?
ping
It would be great to have this.
I commonly use the following style to wait until a connection closes to handle further cleanup...
Would be great to see this feature upstream.