minor: remove old commented out objectRemoved bool in XEngine.OnRemoveScript()

0.8.1-post-fixes
Justin Clark-Casey (justincc) 2015-01-16 23:59:08 +00:00
parent 58f7efc41a
commit 0eb268e265
1 changed files with 0 additions and 5 deletions

View File

@ -1442,8 +1442,6 @@ namespace OpenSim.Region.ScriptEngine.XEngine
instance.Stop(m_WaitForEventCompletionOnScriptStop, true);
// bool objectRemoved = false;
lock (m_PrimObjects)
{
// Remove the script from it's prim
@ -1455,10 +1453,7 @@ namespace OpenSim.Region.ScriptEngine.XEngine
// If there are no more scripts, remove prim
if (m_PrimObjects[localID].Count == 0)
{
m_PrimObjects.Remove(localID);
// objectRemoved = true;
}
}
}