* Made it safe again to use the restart button from the estate tools and the restart console command.
* It looks ugly on the console.. but it's really safe.. and restores some memory.0.6.0-stable
parent
a253ac0830
commit
9fec575b3e
|
@ -208,10 +208,14 @@ namespace OpenSim.Region.ClientStack
|
||||||
// Stupid I know..
|
// Stupid I know..
|
||||||
// but Flusing the buffer would be even more stupid... so, we're stuck with this ugly method.
|
// but Flusing the buffer would be even more stupid... so, we're stuck with this ugly method.
|
||||||
}
|
}
|
||||||
|
|
||||||
catch (SocketException e2)
|
catch (SocketException e2)
|
||||||
{
|
{
|
||||||
m_log.Error("[UDPSERVER]: " + e2.ToString());
|
m_log.Error("[UDPSERVER]: " + e2.ToString());
|
||||||
}
|
}
|
||||||
|
catch (ObjectDisposedException)
|
||||||
|
{
|
||||||
|
}
|
||||||
//return;
|
//return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -264,6 +268,9 @@ namespace OpenSim.Region.ClientStack
|
||||||
m_log.Error("[UDPSERVER]: " + e5.ToString());
|
m_log.Error("[UDPSERVER]: " + e5.ToString());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
catch (ObjectDisposedException)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
if (packet != null)
|
if (packet != null)
|
||||||
{
|
{
|
||||||
|
|
|
@ -2064,10 +2064,10 @@ namespace OpenSim.Region.Physics.OdePlugin
|
||||||
RemovePrim(prm);
|
RemovePrim(prm);
|
||||||
}
|
}
|
||||||
|
|
||||||
foreach (OdeCharacter act in _characters)
|
//foreach (OdeCharacter act in _characters)
|
||||||
{
|
//{
|
||||||
RemoveAvatar(act);
|
//RemoveAvatar(act);
|
||||||
}
|
//}
|
||||||
d.WorldDestroy(world);
|
d.WorldDestroy(world);
|
||||||
//d.CloseODE();
|
//d.CloseODE();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue