Commit properly

This commit is contained in:
Neil Alexander
2021-07-14 17:07:04 +01:00
parent ff696f00d8
commit cedf08a1b7

View File

@@ -2119,6 +2119,7 @@ func (s *Server) InProcessConn() (net.Conn, error) {
pl, pr := net.Pipe()
if !s.startGoRoutine(func() {
s.createClient(pl)
s.grWG.Done()
}) {
pl.Close()
pr.Close()