fix close bug

This commit is contained in:
2022-11-07 11:06:30 -08:00
parent 9a8cf96e08
commit 71179f5099
3 changed files with 2 additions and 1 deletions

View File

@ -25,7 +25,6 @@ func StartSimple(handler func(conn net.Conn)) error {
return err
}
go handler(c)
err = c.Close()
if err != nil {
return err
}