diff options
author | UbitUmarov | 2018-02-02 12:49:40 +0000 |
---|---|---|
committer | UbitUmarov | 2018-02-02 12:49:40 +0000 |
commit | 83e2fee71be695b78438e0c9dc50b649a539d0e3 (patch) | |
tree | af213fea5ebfa4e773af6942c753e7f3bba0d83f /OpenSim/Region/ScriptEngine/Shared/Api/Implementation/AsyncCommandManager.cs | |
parent | Merge branch 'master' into httptests (diff) | |
download | opensim-SC-83e2fee71be695b78438e0c9dc50b649a539d0e3.zip opensim-SC-83e2fee71be695b78438e0c9dc50b649a539d0e3.tar.gz opensim-SC-83e2fee71be695b78438e0c9dc50b649a539d0e3.tar.bz2 opensim-SC-83e2fee71be695b78438e0c9dc50b649a539d0e3.tar.xz |
add experimental script engine XMRengine donated by mrieker (DreamNation) And our Melanie. ***DANGER*** ***TESTONLY*** ***disable HG*** dont leave running when not looking... tp/crossing to Xengine will reset scripts. i do see a few issues but should be testable, so we can decide if we should invest more on it.
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/Api/Implementation/AsyncCommandManager.cs | 28 |
1 files changed, 15 insertions, 13 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/AsyncCommandManager.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/AsyncCommandManager.cs index e01d2e4..5eb3c5c 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/AsyncCommandManager.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/AsyncCommandManager.cs | |||
@@ -284,22 +284,24 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api | |||
284 | // Remove from: Timers | 284 | // Remove from: Timers |
285 | m_Timer[engine].UnSetTimerEvents(localID, itemID); | 285 | m_Timer[engine].UnSetTimerEvents(localID, itemID); |
286 | 286 | ||
287 | // Remove from: HttpRequest | 287 | if(engine.World != null) |
288 | IHttpRequestModule iHttpReq = engine.World.RequestModuleInterface<IHttpRequestModule>(); | 288 | { |
289 | if (iHttpReq != null) | 289 | // Remove from: HttpRequest |
290 | iHttpReq.StopHttpRequest(localID, itemID); | 290 | IHttpRequestModule iHttpReq = engine.World.RequestModuleInterface<IHttpRequestModule>(); |
291 | if (iHttpReq != null) | ||
292 | iHttpReq.StopHttpRequest(localID, itemID); | ||
291 | 293 | ||
292 | IWorldComm comms = engine.World.RequestModuleInterface<IWorldComm>(); | 294 | IWorldComm comms = engine.World.RequestModuleInterface<IWorldComm>(); |
293 | if (comms != null) | 295 | if (comms != null) |
294 | comms.DeleteListener(itemID); | 296 | comms.DeleteListener(itemID); |
295 | 297 | ||
296 | IXMLRPC xmlrpc = engine.World.RequestModuleInterface<IXMLRPC>(); | 298 | IXMLRPC xmlrpc = engine.World.RequestModuleInterface<IXMLRPC>(); |
297 | if (xmlrpc != null) | 299 | if (xmlrpc != null) |
298 | { | 300 | { |
299 | xmlrpc.DeleteChannels(itemID); | 301 | xmlrpc.DeleteChannels(itemID); |
300 | xmlrpc.CancelSRDRequests(itemID); | 302 | xmlrpc.CancelSRDRequests(itemID); |
303 | } | ||
301 | } | 304 | } |
302 | |||
303 | // Remove Sensors | 305 | // Remove Sensors |
304 | m_SensorRepeat[engine].UnSetSenseRepeaterEvents(localID, itemID); | 306 | m_SensorRepeat[engine].UnSetSenseRepeaterEvents(localID, itemID); |
305 | } | 307 | } |