mirror of
https://github.com/opensim/opensim.git
synced 2026-08-06 09:16:28 +08:00
another one
This commit is contained in:
@@ -143,7 +143,7 @@ namespace OpenSim
|
||||
//Mono.Unix.Native.Signum signal = signals [index].Signum;
|
||||
MainConsole.Instance.RunCommand("shutdown");
|
||||
}
|
||||
});
|
||||
});
|
||||
#endif
|
||||
|
||||
/// <summary>
|
||||
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user