give up on OutPacket drop condition on closing

melanie
UbitUmarov 2016-11-20 01:49:53 +00:00
parent b887b7625e
commit 586c81eecd
1 changed files with 3 additions and 1 deletions

View File

@ -12946,12 +12946,14 @@ namespace OpenSim.Region.ClientStack.LindenUDP
/// provide your own method.</param>
protected void OutPacket(Packet packet, ThrottleOutPacketType throttlePacketType, bool doAutomaticSplitting, UnackedPacketMethod method)
{
/* this is causing packet loss for some reason
if(!m_udpClient.IsConnected)
{
PacketPool.Instance.ReturnPacket(packet);
return;
}
*/
if (m_outPacketsToDrop != null)
{
if (m_outPacketsToDrop.Contains(packet.Type.ToString()))