diff options
Diffstat (limited to 'OpenSim/Region/CoreModules/Agent/TextureDownload/TextureDownloadModule.cs')
-rw-r--r-- | OpenSim/Region/CoreModules/Agent/TextureDownload/TextureDownloadModule.cs | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/OpenSim/Region/CoreModules/Agent/TextureDownload/TextureDownloadModule.cs b/OpenSim/Region/CoreModules/Agent/TextureDownload/TextureDownloadModule.cs index 0d95f15..fa5369f 100644 --- a/OpenSim/Region/CoreModules/Agent/TextureDownload/TextureDownloadModule.cs +++ b/OpenSim/Region/CoreModules/Agent/TextureDownload/TextureDownloadModule.cs | |||
@@ -60,8 +60,6 @@ namespace OpenSim.Region.CoreModules.Agent.TextureDownload | |||
60 | private Scene m_scene; | 60 | private Scene m_scene; |
61 | private List<Scene> m_scenes = new List<Scene>(); | 61 | private List<Scene> m_scenes = new List<Scene>(); |
62 | 62 | ||
63 | private Thread m_thread; | ||
64 | |||
65 | public TextureDownloadModule() | 63 | public TextureDownloadModule() |
66 | { | 64 | { |
67 | } | 65 | } |
@@ -70,15 +68,16 @@ namespace OpenSim.Region.CoreModules.Agent.TextureDownload | |||
70 | 68 | ||
71 | public void Initialise(Scene scene, IConfigSource config) | 69 | public void Initialise(Scene scene, IConfigSource config) |
72 | { | 70 | { |
71 | |||
73 | if (m_scene == null) | 72 | if (m_scene == null) |
74 | { | 73 | { |
75 | //m_log.Debug("Creating Texture download module"); | 74 | //m_log.Debug("Creating Texture download module"); |
76 | m_scene = scene; | 75 | m_scene = scene; |
77 | m_thread = new Thread(new ThreadStart(ProcessTextureSenders)); | 76 | //m_thread = new Thread(new ThreadStart(ProcessTextureSenders)); |
78 | m_thread.Name = "ProcessTextureSenderThread"; | 77 | //m_thread.Name = "ProcessTextureSenderThread"; |
79 | m_thread.IsBackground = true; | 78 | //m_thread.IsBackground = true; |
80 | m_thread.Start(); | 79 | //m_thread.Start(); |
81 | ThreadTracker.Add(m_thread); | 80 | //ThreadTracker.Add(m_thread); |
82 | } | 81 | } |
83 | 82 | ||
84 | if (!m_scenes.Contains(scene)) | 83 | if (!m_scenes.Contains(scene)) |