mirror of
https://github.com/opensim/opensim.git
synced 2026-08-01 06:06:06 +08:00
YEngine: reduce calls to CheckRunLockInvariants
This commit is contained in:
@@ -72,6 +72,12 @@ namespace OpenSim.Region.ScriptEngine.Yengine
|
||||
public Exception ResumeEx()
|
||||
{
|
||||
// Resume script from captured stack.
|
||||
if (stackFrames is null)
|
||||
{
|
||||
m_log.Error($"ResumeEx: eventcode: None, stackFrame is null");
|
||||
throw new Exception("ResumeEx: stackFrame is null");
|
||||
}
|
||||
|
||||
callMode = XMRInstance.CallMode_RESTORE;
|
||||
suspendOnCheckRunTemp = true;
|
||||
try
|
||||
|
||||
Reference in New Issue
Block a user