diff options
Diffstat (limited to 'OpenSim/Region/ScriptEngine')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs index 700f538..07b7123 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | |||
@@ -7332,6 +7332,13 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api | |||
7332 | public void llCloseRemoteDataChannel(string channel) | 7332 | public void llCloseRemoteDataChannel(string channel) |
7333 | { | 7333 | { |
7334 | m_host.AddScriptLPS(1); | 7334 | m_host.AddScriptLPS(1); |
7335 | |||
7336 | IXmlRpcRouter xmlRpcRouter = m_ScriptEngine.World.RequestModuleInterface<IXmlRpcRouter>(); | ||
7337 | if (xmlRpcRouter != null) | ||
7338 | { | ||
7339 | xmlRpcRouter.UnRegisterReceiver(channel, m_item.ItemID); | ||
7340 | } | ||
7341 | |||
7335 | IXMLRPC xmlrpcMod = m_ScriptEngine.World.RequestModuleInterface<IXMLRPC>(); | 7342 | IXMLRPC xmlrpcMod = m_ScriptEngine.World.RequestModuleInterface<IXMLRPC>(); |
7336 | xmlrpcMod.CloseXMLRPCChannel((UUID)channel); | 7343 | xmlrpcMod.CloseXMLRPCChannel((UUID)channel); |
7337 | ScriptSleep(1000); | 7344 | ScriptSleep(1000); |