diff options
Diffstat (limited to 'OpenSim')
-rw-r--r-- | OpenSim/Region/CoreModules/Scripting/XMLRPC/XMLRPCModule.cs | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/OpenSim/Region/CoreModules/Scripting/XMLRPC/XMLRPCModule.cs b/OpenSim/Region/CoreModules/Scripting/XMLRPC/XMLRPCModule.cs index c6e05b1..d7ea906 100644 --- a/OpenSim/Region/CoreModules/Scripting/XMLRPC/XMLRPCModule.cs +++ b/OpenSim/Region/CoreModules/Scripting/XMLRPC/XMLRPCModule.cs | |||
@@ -36,6 +36,7 @@ using Nini.Config; | |||
36 | using Nwc.XmlRpc; | 36 | using Nwc.XmlRpc; |
37 | using OpenMetaverse; | 37 | using OpenMetaverse; |
38 | using OpenSim.Framework; | 38 | using OpenSim.Framework; |
39 | using OpenSim.Framework.Monitoring; | ||
39 | using OpenSim.Framework.Servers; | 40 | using OpenSim.Framework.Servers; |
40 | using OpenSim.Framework.Servers.HttpServer; | 41 | using OpenSim.Framework.Servers.HttpServer; |
41 | using OpenSim.Region.Framework.Interfaces; | 42 | using OpenSim.Region.Framework.Interfaces; |
@@ -656,12 +657,8 @@ namespace OpenSim.Region.CoreModules.Scripting.XMLRPC | |||
656 | 657 | ||
657 | public void Process() | 658 | public void Process() |
658 | { | 659 | { |
659 | httpThread = new Thread(SendRequest); | ||
660 | httpThread.Name = "HttpRequestThread"; | ||
661 | httpThread.Priority = ThreadPriority.BelowNormal; | ||
662 | httpThread.IsBackground = true; | ||
663 | _finished = false; | 660 | _finished = false; |
664 | httpThread.Start(); | 661 | Watchdog.StartThread(SendRequest, "HttpRequestThread", ThreadPriority.BelowNormal, true, false); |
665 | } | 662 | } |
666 | 663 | ||
667 | /* | 664 | /* |
@@ -733,6 +730,8 @@ namespace OpenSim.Region.CoreModules.Scripting.XMLRPC | |||
733 | } | 730 | } |
734 | 731 | ||
735 | _finished = true; | 732 | _finished = true; |
733 | |||
734 | Watchdog.RemoveThread(); | ||
736 | } | 735 | } |
737 | 736 | ||
738 | public void Stop() | 737 | public void Stop() |