minor: remove old commented out objectRemoved bool in XEngine.OnRemoveScript()
parent
58f7efc41a
commit
0eb268e265
|
@ -1442,8 +1442,6 @@ namespace OpenSim.Region.ScriptEngine.XEngine
|
||||||
|
|
||||||
instance.Stop(m_WaitForEventCompletionOnScriptStop, true);
|
instance.Stop(m_WaitForEventCompletionOnScriptStop, true);
|
||||||
|
|
||||||
// bool objectRemoved = false;
|
|
||||||
|
|
||||||
lock (m_PrimObjects)
|
lock (m_PrimObjects)
|
||||||
{
|
{
|
||||||
// Remove the script from it's prim
|
// 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 there are no more scripts, remove prim
|
||||||
if (m_PrimObjects[localID].Count == 0)
|
if (m_PrimObjects[localID].Count == 0)
|
||||||
{
|
|
||||||
m_PrimObjects.Remove(localID);
|
m_PrimObjects.Remove(localID);
|
||||||
// objectRemoved = true;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue