aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim
diff options
context:
space:
mode:
authorUbitUmarov2017-05-25 02:24:15 +0100
committerUbitUmarov2017-05-25 02:24:15 +0100
commit8195cd5153d736b5b5412e3fc3b5d6458d617ea9 (patch)
treeaf94b3bab2d0b21e26ad1e8e623cb2934ca6146c /OpenSim
parentmake a few more threads background ones (diff)
downloadopensim-SC-8195cd5153d736b5b5412e3fc3b5d6458d617ea9.zip
opensim-SC-8195cd5153d736b5b5412e3fc3b5d6458d617ea9.tar.gz
opensim-SC-8195cd5153d736b5b5412e3fc3b5d6458d617ea9.tar.bz2
opensim-SC-8195cd5153d736b5b5412e3fc3b5d6458d617ea9.tar.xz
another one
Diffstat (limited to 'OpenSim')
-rw-r--r--OpenSim/Region/Application/OpenSim.cs9
-rw-r--r--OpenSim/Server/Base/ServicesServerBase.cs1
2 files changed, 9 insertions, 1 deletions
diff --git a/OpenSim/Region/Application/OpenSim.cs b/OpenSim/Region/Application/OpenSim.cs
index 524f2be..5977f40 100644
--- a/OpenSim/Region/Application/OpenSim.cs
+++ b/OpenSim/Region/Application/OpenSim.cs
@@ -143,7 +143,7 @@ namespace OpenSim
143 //Mono.Unix.Native.Signum signal = signals [index].Signum; 143 //Mono.Unix.Native.Signum signal = signals [index].Signum;
144 MainConsole.Instance.RunCommand("shutdown"); 144 MainConsole.Instance.RunCommand("shutdown");
145 } 145 }
146 }); 146 });
147#endif 147#endif
148 148
149 /// <summary> 149 /// <summary>
@@ -165,6 +165,7 @@ namespace OpenSim
165 { 165 {
166 new Mono.Unix.UnixSignal(Mono.Unix.Native.Signum.SIGTERM) 166 new Mono.Unix.UnixSignal(Mono.Unix.Native.Signum.SIGTERM)
167 }; 167 };
168 signal_thread.IsBackground = true;
168 signal_thread.Start(); 169 signal_thread.Start();
169 } 170 }
170 catch (Exception e) 171 catch (Exception e)
@@ -485,6 +486,12 @@ namespace OpenSim
485 RunCommandScript(m_shutdownCommandsFile); 486 RunCommandScript(m_shutdownCommandsFile);
486 } 487 }
487 488
489 if (m_timedScript != "disabled")
490 {
491 m_scriptTimer.Dispose();
492 m_timedScript = "disabled";
493 }
494
488 base.ShutdownSpecific(); 495 base.ShutdownSpecific();
489 } 496 }
490 497
diff --git a/OpenSim/Server/Base/ServicesServerBase.cs b/OpenSim/Server/Base/ServicesServerBase.cs
index 8db97a8..2185727 100644
--- a/OpenSim/Server/Base/ServicesServerBase.cs
+++ b/OpenSim/Server/Base/ServicesServerBase.cs
@@ -211,6 +211,7 @@ namespace OpenSim.Server.Base
211 { 211 {
212 new Mono.Unix.UnixSignal(Mono.Unix.Native.Signum.SIGTERM) 212 new Mono.Unix.UnixSignal(Mono.Unix.Native.Signum.SIGTERM)
213 }; 213 };
214 ignal_thread.IsBackground = true;
214 signal_thread.Start(); 215 signal_thread.Start();
215 } 216 }
216 catch (Exception e) 217 catch (Exception e)