Fixes an exception that is seen on regions running XEngine, where DNE
tries to stop a script that is not run by it0.6.0-stable
parent
4004172106
commit
f6650d33cc
|
@ -169,18 +169,13 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine
|
|||
|
||||
public override void _StopScript(uint localID, UUID itemID)
|
||||
{
|
||||
// Stop script
|
||||
//#if DEBUG
|
||||
// m_scriptEngine.Log.Debug("[" + m_scriptEngine.ScriptEngineName + "]: Stop script localID: " + localID + " LLUID: " + itemID.ToString());
|
||||
//#endif
|
||||
|
||||
// Stop long command on script
|
||||
AsyncCommandManager.RemoveScript(m_scriptEngine, localID, itemID);
|
||||
|
||||
IScript LSLBC = GetScript(localID, itemID);
|
||||
if (LSLBC == null)
|
||||
return;
|
||||
|
||||
// Stop long command on script
|
||||
AsyncCommandManager.RemoveScript(m_scriptEngine, localID, itemID);
|
||||
|
||||
// TEMP: First serialize it
|
||||
//GetSerializedScript(localID, itemID);
|
||||
|
||||
|
|
Loading…
Reference in New Issue