* 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.
This commit is contained in:
Teravus Ovares
2008-04-10 10:27:03 +00:00
parent a253ac0830
commit 9fec575b3e
2 changed files with 11 additions and 4 deletions

View File

@@ -2064,10 +2064,10 @@ namespace OpenSim.Region.Physics.OdePlugin
RemovePrim(prm);
}
foreach (OdeCharacter act in _characters)
{
RemoveAvatar(act);
}
//foreach (OdeCharacter act in _characters)
//{
//RemoveAvatar(act);
//}
d.WorldDestroy(world);
//d.CloseODE();
}