mirror of
https://github.com/opensim/opensim.git
synced 2026-08-09 18:55:58 +08:00
very useless changes
This commit is contained in:
@@ -179,7 +179,7 @@ namespace OpenSim.Framework.Servers
|
||||
{
|
||||
m_log.Info("[STARTUP]: Beginning startup processing");
|
||||
|
||||
m_log.Info("[STARTUP]: version: " + m_version);
|
||||
m_log.Info("[STARTUP]: Version: " + m_version);
|
||||
m_log.Info($"[STARTUP]: Operating system version: {Environment.OSVersion}, .NET platform {Util.RuntimePlatformStr}, Runtime {Environment.Version}");
|
||||
m_log.Info($"[STARTUP]: Processor Architecture: {RuntimeInformation.ProcessArchitecture}({(BitConverter.IsLittleEndian ? "le" : "be")} {(Environment.Is64BitProcess ? "64" : "32")}bit)");
|
||||
try
|
||||
|
||||
@@ -219,6 +219,7 @@ namespace OSHttpServer
|
||||
/// </remarks>
|
||||
public virtual void Cleanup()
|
||||
{
|
||||
|
||||
if (StreamPassedOff)
|
||||
return;
|
||||
|
||||
|
||||
@@ -63,7 +63,7 @@ namespace OpenSim.Framework.Servers
|
||||
protected DateTime m_startuptime;
|
||||
protected string m_startupDirectory = Environment.CurrentDirectory;
|
||||
|
||||
protected string m_pidFile = String.Empty;
|
||||
protected string m_pidFile = string.Empty;
|
||||
|
||||
protected ServerStatsCollector m_serverStatsCollector;
|
||||
|
||||
@@ -90,7 +90,7 @@ namespace OpenSim.Framework.Servers
|
||||
|
||||
using (FileStream fs = File.Create(path))
|
||||
{
|
||||
Byte[] buf = Encoding.ASCII.GetBytes(pidstring);
|
||||
byte[] buf = Encoding.ASCII.GetBytes(pidstring);
|
||||
fs.Write(buf, 0, buf.Length);
|
||||
}
|
||||
|
||||
@@ -116,8 +116,7 @@ namespace OpenSim.Framework.Servers
|
||||
{
|
||||
m_log.Error($"[SERVER BASE]: Error whilst removing {m_pidFile}", e);
|
||||
}
|
||||
|
||||
m_pidFile = String.Empty;
|
||||
m_pidFile = string.Empty;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user