mirror of
https://github.com/duanhf2012/origin.git
synced 2026-02-16 09:24:47 +08:00
框架修复
This commit is contained in:
@@ -86,7 +86,7 @@ func (slf *TcpService) NewClient(conn *network.TCPConn) network.Agent {
|
||||
continue
|
||||
}
|
||||
|
||||
pClient := &Client{tcpConn:conn}
|
||||
pClient := &Client{tcpConn:conn, id:slf.initClientId}
|
||||
pClient.tcpService = slf
|
||||
slf.mapClient[slf.initClientId] = pClient
|
||||
return pClient
|
||||
|
||||
Reference in New Issue
Block a user