mantis 8678: try fix rest console client

master
UbitUmarov 2020-05-01 17:49:11 +01:00
parent 929fa3efbd
commit ab14241871
2 changed files with 3 additions and 2 deletions

View File

@ -80,7 +80,7 @@ namespace OpenSim.ConsoleClient
while (m_Server.Running)
{
System.Threading.Thread.Sleep(500);
// MainConsole.Instance.Prompt();
MainConsole.Instance.Prompt();
}
if (pidFile != String.Empty)

View File

@ -274,6 +274,7 @@ namespace OpenSim.Framework.Monitoring
if(LogLevel >= 1)
m_log.DebugFormat("[{0}]: Processed job {1}",LoggingName,m_currentJob.Name);
m_currentJob.Action = null;
m_currentJob = null;
}
}
@ -300,7 +301,7 @@ namespace OpenSim.Framework.Monitoring
/// <summary>
/// Action to perform when this job is processed.
/// </summary>
public Action Action { get; private set; }
public Action Action { get; set; }
private Job(string name, string commonId, Action action)
{