another one

0.9.0-post-fixes
UbitUmarov 2017-05-25 02:24:15 +01:00
parent b6c23fe911
commit 8195cd5153
2 changed files with 9 additions and 1 deletions

View File

@ -165,6 +165,7 @@ namespace OpenSim
{
new Mono.Unix.UnixSignal(Mono.Unix.Native.Signum.SIGTERM)
};
signal_thread.IsBackground = true;
signal_thread.Start();
}
catch (Exception e)
@ -485,6 +486,12 @@ namespace OpenSim
RunCommandScript(m_shutdownCommandsFile);
}
if (m_timedScript != "disabled")
{
m_scriptTimer.Dispose();
m_timedScript = "disabled";
}
base.ShutdownSpecific();
}

View File

@ -211,6 +211,7 @@ namespace OpenSim.Server.Base
{
new Mono.Unix.UnixSignal(Mono.Unix.Native.Signum.SIGTERM)
};
ignal_thread.IsBackground = true;
signal_thread.Start();
}
catch (Exception e)