another one
parent
b6c23fe911
commit
8195cd5153
|
@ -165,6 +165,7 @@ namespace OpenSim
|
||||||
{
|
{
|
||||||
new Mono.Unix.UnixSignal(Mono.Unix.Native.Signum.SIGTERM)
|
new Mono.Unix.UnixSignal(Mono.Unix.Native.Signum.SIGTERM)
|
||||||
};
|
};
|
||||||
|
signal_thread.IsBackground = true;
|
||||||
signal_thread.Start();
|
signal_thread.Start();
|
||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
|
@ -485,6 +486,12 @@ namespace OpenSim
|
||||||
RunCommandScript(m_shutdownCommandsFile);
|
RunCommandScript(m_shutdownCommandsFile);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (m_timedScript != "disabled")
|
||||||
|
{
|
||||||
|
m_scriptTimer.Dispose();
|
||||||
|
m_timedScript = "disabled";
|
||||||
|
}
|
||||||
|
|
||||||
base.ShutdownSpecific();
|
base.ShutdownSpecific();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -211,6 +211,7 @@ namespace OpenSim.Server.Base
|
||||||
{
|
{
|
||||||
new Mono.Unix.UnixSignal(Mono.Unix.Native.Signum.SIGTERM)
|
new Mono.Unix.UnixSignal(Mono.Unix.Native.Signum.SIGTERM)
|
||||||
};
|
};
|
||||||
|
ignal_thread.IsBackground = true;
|
||||||
signal_thread.Start();
|
signal_thread.Start();
|
||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
|
|
Loading…
Reference in New Issue