mantis 8678: try fix rest console client
parent
929fa3efbd
commit
ab14241871
|
@ -80,7 +80,7 @@ namespace OpenSim.ConsoleClient
|
||||||
while (m_Server.Running)
|
while (m_Server.Running)
|
||||||
{
|
{
|
||||||
System.Threading.Thread.Sleep(500);
|
System.Threading.Thread.Sleep(500);
|
||||||
// MainConsole.Instance.Prompt();
|
MainConsole.Instance.Prompt();
|
||||||
}
|
}
|
||||||
|
|
||||||
if (pidFile != String.Empty)
|
if (pidFile != String.Empty)
|
||||||
|
|
|
@ -274,6 +274,7 @@ namespace OpenSim.Framework.Monitoring
|
||||||
if(LogLevel >= 1)
|
if(LogLevel >= 1)
|
||||||
m_log.DebugFormat("[{0}]: Processed job {1}",LoggingName,m_currentJob.Name);
|
m_log.DebugFormat("[{0}]: Processed job {1}",LoggingName,m_currentJob.Name);
|
||||||
|
|
||||||
|
m_currentJob.Action = null;
|
||||||
m_currentJob = null;
|
m_currentJob = null;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -300,7 +301,7 @@ namespace OpenSim.Framework.Monitoring
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Action to perform when this job is processed.
|
/// Action to perform when this job is processed.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public Action Action { get; private set; }
|
public Action Action { get; set; }
|
||||||
|
|
||||||
private Job(string name, string commonId, Action action)
|
private Job(string name, string commonId, Action action)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue