mirror of
https://github.com/araxiaonline/TrinityCore.git
synced 2026-06-17 21:50:50 -04:00
Core/Networking: Fixed unsafe access to _worldSession member in WorldSocket
(cherry picked from commitbed88e0dd4) Core/Networking: Fixed deadlock in HandlePing if the client is about to be kicked for overspeed pings (cherry picked from commit3da0f7e409) Core/Networking: Cleanup CloseSocket calls from read failures in WorldSocket (cherry picked from commit18343a7309) Conflicts: src/server/game/Server/WorldSocket.cpp Ref #14474
This commit is contained in:
@@ -225,6 +225,7 @@ void WorldSession::SendPacket(WorldPacket* packet)
|
||||
|
||||
sScriptMgr->OnPacketSend(this, *packet);
|
||||
|
||||
TC_LOG_TRACE("network.opcode", "S->C: %s %s", GetPlayerInfo().c_str(), GetOpcodeNameForLogging(packet->GetOpcode()).c_str());
|
||||
m_Socket->SendPacket(*packet);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user