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