From ab1424187114e171512d8702f6f6a9bed5381c28 Mon Sep 17 00:00:00 2001 From: UbitUmarov Date: Fri, 1 May 2020 17:49:11 +0100 Subject: [PATCH] mantis 8678: try fix rest console client --- OpenSim/ConsoleClient/ConsoleClient.cs | 2 +- OpenSim/Framework/Monitoring/JobEngine.cs | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/OpenSim/ConsoleClient/ConsoleClient.cs b/OpenSim/ConsoleClient/ConsoleClient.cs index e689424d7d..d069a7eb22 100644 --- a/OpenSim/ConsoleClient/ConsoleClient.cs +++ b/OpenSim/ConsoleClient/ConsoleClient.cs @@ -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) diff --git a/OpenSim/Framework/Monitoring/JobEngine.cs b/OpenSim/Framework/Monitoring/JobEngine.cs index 8c486e0df3..b75243fb50 100644 --- a/OpenSim/Framework/Monitoring/JobEngine.cs +++ b/OpenSim/Framework/Monitoring/JobEngine.cs @@ -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 /// /// Action to perform when this job is processed. /// - public Action Action { get; private set; } + public Action Action { get; set; } private Job(string name, string commonId, Action action) {