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

@@ -66,7 +66,7 @@ namespace OpenSim.Region.ScriptEngine.Yengine
{
public static readonly string OBJECT_CODE_MAGIC = "YObjectCode";
// reserve positive version values for original xmr
public static int COMPILED_VERSION_VALUE = -8; // decremented when compiler or object file changes
public static int COMPILED_VERSION_VALUE = -9; // decremented when compiler or object file changes
public static readonly int CALL_FRAME_MEMUSE = 64;
public static readonly int STRING_LEN_TO_MEMUSE = 2;

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.