* Removed the ObjectDisposed error.
parent
afe63faa2e
commit
425a7656ed
|
@ -146,6 +146,14 @@ namespace OpenSim.Region.ClientStack
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
|
try
|
||||||
|
{
|
||||||
|
CloseEndPoint(epSender);
|
||||||
|
}
|
||||||
|
catch (System.Exception)
|
||||||
|
{
|
||||||
|
//MainLog.Instance.Verbose("UDPSERVER", a.ToString());
|
||||||
|
}
|
||||||
// Here's some reference code! :D
|
// Here's some reference code! :D
|
||||||
// Shutdown and restart the UDP listener! hehe
|
// Shutdown and restart the UDP listener! hehe
|
||||||
// Shiny
|
// Shiny
|
||||||
|
@ -158,9 +166,9 @@ namespace OpenSim.Region.ClientStack
|
||||||
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
catch (System.ObjectDisposedException e)
|
catch (System.ObjectDisposedException)
|
||||||
{
|
{
|
||||||
MainLog.Instance.Debug("UDPSERVER", e.ToString());
|
//MainLog.Instance.Debug("UDPSERVER", e.ToString());
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -170,9 +178,9 @@ namespace OpenSim.Region.ClientStack
|
||||||
{
|
{
|
||||||
packet = Packet.BuildPacket(RecvBuffer, ref packetEnd, ZeroBuffer);
|
packet = Packet.BuildPacket(RecvBuffer, ref packetEnd, ZeroBuffer);
|
||||||
}
|
}
|
||||||
catch(Exception e)
|
catch(Exception)
|
||||||
{
|
{
|
||||||
MainLog.Instance.Debug("UDPSERVER", e.ToString());
|
//MainLog.Instance.Debug("UDPSERVER", e.ToString());
|
||||||
}
|
}
|
||||||
|
|
||||||
// do we already have a circuit for this endpoint
|
// do we already have a circuit for this endpoint
|
||||||
|
|
Loading…
Reference in New Issue