From e06ee9fd4bb60c95009af516d92786de2a88f859 Mon Sep 17 00:00:00 2001 From: Tedd Hansen Date: Sat, 2 Feb 2008 03:11:06 +0000 Subject: Added load/unload queue size limit Added option to share script load/unload thread between regions Added event execution queue size limit + some bugfixes from all the changes --- OpenSim/Region/ScriptEngine/DotNetEngine/ScriptManager.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'OpenSim/Region/ScriptEngine/DotNetEngine/ScriptManager.cs') diff --git a/OpenSim/Region/ScriptEngine/DotNetEngine/ScriptManager.cs b/OpenSim/Region/ScriptEngine/DotNetEngine/ScriptManager.cs index f6c9e30..821b2d4 100644 --- a/OpenSim/Region/ScriptEngine/DotNetEngine/ScriptManager.cs +++ b/OpenSim/Region/ScriptEngine/DotNetEngine/ScriptManager.cs @@ -86,7 +86,7 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine CompiledScript.Source = Script; // Add it to our script memstruct - SetScript(localID, itemID, CompiledScript); + m_scriptEngine.m_ScriptManager.SetScript(localID, itemID, CompiledScript); // We need to give (untrusted) assembly a private instance of BuiltIns // this private copy will contain Read-Only FullitemID so that it can bring that on to the server whenever needed. @@ -144,9 +144,9 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine // Get AppDomain AppDomain ad = LSLBC.Exec.GetAppDomain(); // Tell script not to accept new requests - GetScript(localID, itemID).Exec.StopScript(); + m_scriptEngine.m_ScriptManager.GetScript(localID, itemID).Exec.StopScript(); // Remove from internal structure - RemoveScript(localID, itemID); + m_scriptEngine.m_ScriptManager.RemoveScript(localID, itemID); // Tell AppDomain that we have stopped script m_scriptEngine.m_AppDomainManager.StopScript(ad); } -- cgit v1.1