* Commit a variety of fixes to bugs discovered while trying to fix the NaN singularity.

* WebStatsModule doesn't crash on restart.   GodsModule doesn't crash when there is no Dialog Module.  LLUDPServer doesn't crash when the Operation was Aborted.  
* ODEPlugin does 'Almost NaN' sanity checks.
* ODEPlugin sacrifices NaN avatars to the NaN black hole to appease it and keep it from sucking the rest of the world in.
This commit is contained in:
Teravus Ovares
2009-04-14 01:57:35 +00:00
parent ab83af0341
commit c2e75aecd1
6 changed files with 150 additions and 34 deletions

View File

@@ -199,6 +199,16 @@ namespace OpenSim.Region.ClientStack.LindenUDP
int numCollected = 0;
//First of all make sure our packet queue isn't above our threshold
if (m_client == null)
return;
if (m_client.PacketHandler == null)
return;
if (m_client.PacketHandler.PacketQueue == null)
return;
if (m_client.PacketHandler.PacketQueue.TextureOutgoingPacketQueueCount < 200)
{

View File

@@ -378,6 +378,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP
case SocketError.NetworkReset:
case SocketError.ConnectionReset:
case SocketError.OperationAborted:
break;
default: