Run GoWithLoad command in separate thread

when using donotloadonnextboot
This commit is contained in:
Andrew Welker
2020-12-08 08:01:25 -07:00
parent 2eaf21b1e0
commit 2c36c0f2cb

View File

@@ -53,7 +53,7 @@ namespace PepperDash.Essentials
if (Debug.DoNotLoadOnNextBoot)
{
CrestronConsole.AddNewConsoleCommand(s => GoWithLoad(), "go", "Loads configuration file",
CrestronConsole.AddNewConsoleCommand(s => CrestronInvoke.BeginInvoke((o) => GoWithLoad()), "go", "Loads configuration file",
ConsoleAccessLevelEnum.AccessOperator);
}