mirror of
https://github.com/opensim/opensim.git
synced 2026-08-06 09:16:28 +08:00
Wrapped the contents of the IncomingPacketHandler loop in a try/catch statement
This commit is contained in:
@@ -716,8 +716,15 @@ namespace OpenSim.Region.ClientStack.LindenUDP
|
||||
|
||||
while (base.IsRunning)
|
||||
{
|
||||
if (packetInbox.Dequeue(100, ref incomingPacket))
|
||||
Util.FireAndForget(ProcessInPacket, incomingPacket);
|
||||
try
|
||||
{
|
||||
if (packetInbox.Dequeue(100, ref incomingPacket))
|
||||
Util.FireAndForget(ProcessInPacket, incomingPacket);
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
m_log.Error("[LLUDPSERVER]: Error in the incoming packet handler loop: " + ex.Message, ex);
|
||||
}
|
||||
}
|
||||
|
||||
if (packetInbox.Count > 0)
|
||||
|
||||
Reference in New Issue
Block a user