mirror of
https://github.com/opensim/opensim.git
synced 2026-05-19 22:45:43 +08:00
Fixes an exception that is seen on regions running XEngine, where DNE
tries to stop a script that is not run by it
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user