From 218902bedc7f430c8401426a1cee373bfc0b5485 Mon Sep 17 00:00:00 2001 From: Melanie Thielker Date: Wed, 24 Sep 2008 02:58:05 +0000 Subject: Decouple AsyncCommands from XEngine and the script instance. Make all methods needed outside the API ststic. Async command processing is now wholly internal to the API. This sets the stage for the next convergence step. --- .../ScriptEngine/Shared/Api/Implementation/Plugins/HttpRequest.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'OpenSim/Region/ScriptEngine/Shared/Api/Implementation/Plugins/HttpRequest.cs') diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/Plugins/HttpRequest.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/Plugins/HttpRequest.cs index 92f603d..3d3fb05 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/Plugins/HttpRequest.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/Plugins/HttpRequest.cs @@ -77,9 +77,9 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api.Plugins new LSL_Types.LSLString(httpInfo.response_body) }; - foreach (AsyncCommandManager m in m_CmdManager.Managers) + foreach (IScriptEngine e in m_CmdManager.ScriptEngines) { - if (m.m_ScriptEngine.PostObjectEvent(httpInfo.localID, + if (e.PostObjectEvent(httpInfo.localID, new EventParams("http_response", resobj, new DetectParams[0]))) break; -- cgit v1.1