mirror of
https://github.com/BluTac10/Xbox-Neo.git
synced 2026-07-19 15:38:16 +00:00
Merge remote-tracking branch 'itsRevela/main' into upstream-merge
# Conflicts: # Minecraft.Client/Common/Audio/SoundNames.cpp # Minecraft.Client/SheepRenderer.cpp # Minecraft.World/SoundTypes.h # README.md # cmake/CopyAssets.cmake
This commit is contained in:
@@ -134,7 +134,14 @@ void CPlatformNetworkManagerStub::NotifyPlayerLeaving(IQNetPlayer* pQNetPlayer)
|
||||
if (socket != nullptr)
|
||||
{
|
||||
if (m_pIQNet->IsHost())
|
||||
{
|
||||
g_NetworkManager.CloseConnection(networkPlayer);
|
||||
|
||||
// Propagate the TCP drop to the game Socket so any orphaned
|
||||
// PendingConnection at this smallId cleans up before its login
|
||||
// timer fires and leaks a DisconnectPacket to the reused slot.
|
||||
socket->close(true);
|
||||
}
|
||||
}
|
||||
|
||||
if (m_pIQNet->IsHost())
|
||||
|
||||
Reference in New Issue
Block a user