mirror of
https://github.com/ergochat/ergo.git
synced 2025-01-03 08:32:43 +01:00
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 {
|
if DEBUG_SERVER {
|
||||||
log.Print("Server.Accept: ", conn.RemoteAddr())
|
log.Print("Server.Accept: ", conn.RemoteAddr())
|
||||||
}
|
}
|
||||||
go NewClient(s, conn)
|
NewClient(s, conn)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user