mirror of https://github.com/ergochat/ergo.git
don't use a goroutine when initializing clients
This commit is contained in:
parent
cd4503be31
commit
dc5e258f88
|
@ -122,7 +122,7 @@ func (s *Server) listen(config ListenerConfig) {
|
|||
if DEBUG_SERVER {
|
||||
log.Print("Server.Accept: ", conn.RemoteAddr())
|
||||
}
|
||||
go NewClient(s, conn)
|
||||
NewClient(s, conn)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue