aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Modules/ChatModule.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/Environment/Modules/ChatModule.cs')
-rw-r--r--OpenSim/Region/Environment/Modules/ChatModule.cs12
1 files changed, 10 insertions, 2 deletions
diff --git a/OpenSim/Region/Environment/Modules/ChatModule.cs b/OpenSim/Region/Environment/Modules/ChatModule.cs
index 0510ad6..c146941 100644
--- a/OpenSim/Region/Environment/Modules/ChatModule.cs
+++ b/OpenSim/Region/Environment/Modules/ChatModule.cs
@@ -113,7 +113,10 @@ namespace OpenSim.Region.Environment.Modules
113 m_irc_connector.Name = "IRCConnectorThread"; 113 m_irc_connector.Name = "IRCConnectorThread";
114 m_irc_connector.IsBackground = true; 114 m_irc_connector.IsBackground = true;
115 } 115 }
116 if (!m_irc_connector.IsAlive) { m_irc_connector.Start(); } 116 if (!m_irc_connector.IsAlive) {
117 m_irc_connector.Start();
118 OpenSim.Framework.ThreadTracker.Add(m_irc_connector);
119 }
117 } 120 }
118 catch (Exception ex) 121 catch (Exception ex)
119 { 122 {
@@ -260,7 +263,10 @@ namespace OpenSim.Region.Environment.Modules
260 m_irc_connector.Name = "IRCConnectorThread"; 263 m_irc_connector.Name = "IRCConnectorThread";
261 m_irc_connector.IsBackground = true; 264 m_irc_connector.IsBackground = true;
262 } 265 }
263 if (!m_irc_connector.IsAlive) { m_irc_connector.Start(); } 266 if (!m_irc_connector.IsAlive) {
267 m_irc_connector.Start();
268 OpenSim.Framework.ThreadTracker.Add(m_irc_connector);
269 }
264 } 270 }
265 catch (Exception ex) 271 catch (Exception ex)
266 { 272 {
@@ -421,11 +427,13 @@ namespace OpenSim.Region.Environment.Modules
421 pingSender.Name = "PingSenderThread"; 427 pingSender.Name = "PingSenderThread";
422 pingSender.IsBackground = true; 428 pingSender.IsBackground = true;
423 pingSender.Start(); 429 pingSender.Start();
430 OpenSim.Framework.ThreadTracker.Add(pingSender);
424 431
425 listener = new Thread(new ThreadStart(ListenerRun)); 432 listener = new Thread(new ThreadStart(ListenerRun));
426 listener.Name = "IRCChatModuleListenerThread"; 433 listener.Name = "IRCChatModuleListenerThread";
427 listener.IsBackground = true; 434 listener.IsBackground = true;
428 listener.Start(); 435 listener.Start();
436 OpenSim.Framework.ThreadTracker.Add(listener);
429 437
430 m_writer.WriteLine(m_user); 438 m_writer.WriteLine(m_user);
431 m_writer.Flush(); 439 m_writer.Flush();