force yengine scripts recomp

This commit is contained in:
UbitUmarov
2021-11-20 03:54:03 +00:00
parent ca3525bf0a
commit 743f3af745
2 changed files with 9 additions and 9 deletions

View File

@@ -261,6 +261,14 @@ namespace OpenSim.Region.ScriptEngine.Yengine
// ONSLEEPQ, ONYIELDQ, SUSPENDED or FINISHED.
public XMRInstState RunOne()
{
// someone may have called Suspend().
//m_RunOnePhase = "check m_SuspendCount";
if (m_SuspendCount > 0)
{
//m_RunOnePhase = "return is suspended";
return XMRInstState.SUSPENDED;
}
DateTime now = DateTime.UtcNow;
m_SliceStart = Util.GetTimeStampMS();
@@ -272,14 +280,6 @@ namespace OpenSim.Region.ScriptEngine.Yengine
return XMRInstState.ONSLEEPQ;
}
// Also, someone may have called Suspend().
//m_RunOnePhase = "check m_SuspendCount";
if(m_SuspendCount > 0)
{
//m_RunOnePhase = "return is suspended";
return XMRInstState.SUSPENDED;
}
// Make sure we aren't being migrated in or out and prevent that
// whilst we are in here. If migration has it locked, don't call
// back right away, delay a bit so we don't get in infinite loop.