aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim')
-rw-r--r--OpenSim/Region/ClientStack/LindenUDP/LLUDPServer.cs11
1 files changed, 9 insertions, 2 deletions
diff --git a/OpenSim/Region/ClientStack/LindenUDP/LLUDPServer.cs b/OpenSim/Region/ClientStack/LindenUDP/LLUDPServer.cs
index 8bfab6a..7a403aa 100644
--- a/OpenSim/Region/ClientStack/LindenUDP/LLUDPServer.cs
+++ b/OpenSim/Region/ClientStack/LindenUDP/LLUDPServer.cs
@@ -716,8 +716,15 @@ namespace OpenSim.Region.ClientStack.LindenUDP
716 716
717 while (base.IsRunning) 717 while (base.IsRunning)
718 { 718 {
719 if (packetInbox.Dequeue(100, ref incomingPacket)) 719 try
720 Util.FireAndForget(ProcessInPacket, incomingPacket); 720 {
721 if (packetInbox.Dequeue(100, ref incomingPacket))
722 Util.FireAndForget(ProcessInPacket, incomingPacket);
723 }
724 catch (Exception ex)
725 {
726 m_log.Error("[LLUDPSERVER]: Error in the incoming packet handler loop: " + ex.Message, ex);
727 }
721 } 728 }
722 729
723 if (packetInbox.Count > 0) 730 if (packetInbox.Count > 0)