mantis 8706: avoid spurius logs on Yengine during object delete
parent
cc4e14a88d
commit
5f52de2578
|
@ -309,7 +309,7 @@ namespace OpenSim.Region.ScriptEngine.Yengine
|
|||
Exception e = null;
|
||||
|
||||
// Maybe it has been Disposed()
|
||||
if(m_Part == null)
|
||||
if(m_Part == null || m_Part.Inventory == null)
|
||||
{
|
||||
m_RunOnePhase = "runone saw it disposed";
|
||||
return XMRInstState.DISPOSED;
|
||||
|
@ -534,6 +534,13 @@ namespace OpenSim.Region.ScriptEngine.Yengine
|
|||
eventCode = ScriptEventCode.None;
|
||||
stackFrames = null;
|
||||
|
||||
if(m_Part == null || m_Part.Inventory == null)
|
||||
{
|
||||
//we are gone and don't know it still
|
||||
m_SleepUntil = DateTime.MaxValue;
|
||||
return;
|
||||
}
|
||||
|
||||
if (e is ScriptDeleteException)
|
||||
{
|
||||
// Script did something like llRemoveInventory(llGetScriptName());
|
||||
|
|
Loading…
Reference in New Issue