This commit is contained in:
aozhiwei 2023-09-16 11:10:46 +08:00
parent 5c5fb4c827
commit 44a78dd2db

View File

@ -269,9 +269,6 @@ func (this *playerMgr) CMReconnect(hdr *f5.MsgHdr, msg *cs.CMReconnect) {
GetWspListener().SendProxyMsg(hdr.Conn, hdr.SocketHandle, rspMsg) GetWspListener().SendProxyMsg(hdr.Conn, hdr.SocketHandle, rspMsg)
return return
} }
if hum.socket.IsValid() { hum.reBind(hdr.GetSocket())
delete(this.socketHash, hum.socket)
}
this.socketHash[hdr.GetSocket()] = hum
GetWspListener().SendProxyMsg(hdr.Conn, hdr.SocketHandle, rspMsg) GetWspListener().SendProxyMsg(hdr.Conn, hdr.SocketHandle, rspMsg)
} }