mirror of
https://github.com/opensim/opensim.git
synced 2026-08-02 14:56:19 +08:00
force Yengine scripts recompile
This commit is contained in:
@@ -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 = -5; // decremented when compiler or object file changes
|
||||
public static int COMPILED_VERSION_VALUE = -6; // decremented when compiler or object file changes
|
||||
|
||||
public static readonly int CALL_FRAME_MEMUSE = 64;
|
||||
public static readonly int STRING_LEN_TO_MEMUSE = 2;
|
||||
|
||||
@@ -397,8 +397,8 @@ namespace OpenSim.Region.ScriptEngine.Yengine
|
||||
else
|
||||
m_IState = XMRInstState.IDLE;
|
||||
}
|
||||
else if(m_SuspendCount != 0)
|
||||
m_IState = XMRInstState.IDLE;
|
||||
//else if(m_SuspendCount != 0)
|
||||
// m_IState = XMRInstState.IDLE;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
@@ -1020,6 +1020,7 @@ namespace OpenSim.Region.ScriptEngine.Yengine
|
||||
{
|
||||
lock(m_QueueLock)
|
||||
{
|
||||
m_SuspendCount = 0;
|
||||
m_Suspended = false;
|
||||
m_DetachQuantum = 0;
|
||||
m_DetachReady.Set();
|
||||
@@ -1041,6 +1042,7 @@ namespace OpenSim.Region.ScriptEngine.Yengine
|
||||
{
|
||||
lock(m_QueueLock)
|
||||
{
|
||||
m_SuspendCount = 1;
|
||||
m_Suspended = true;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user