修复经常挂bug
This commit is contained in:
parent
cc68af56df
commit
cc6c4ffa5e
@ -335,7 +335,9 @@ void App::ProcessClientMsg(MsgHdr& hdr)
|
||||
}
|
||||
} else {
|
||||
GameClient* client = GameClientMgr::Instance()->GetGameClientBySocket(hdr.socket_handle);
|
||||
conn = client->conn;
|
||||
if (client) {
|
||||
conn = client->conn;
|
||||
}
|
||||
}
|
||||
if (conn) {
|
||||
conn->ForwardClientMsg(hdr);
|
||||
|
Loading…
x
Reference in New Issue
Block a user