fix close bug
This commit is contained in:
@ -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
|
||||
}
|
||||
|
Reference in New Issue
Block a user