fix: arm automation on post-netload command
This commit is contained in:
@@ -45,7 +45,13 @@ internal static class FirstLimitedApplyAutomationBootstrap
|
||||
// Public test command is intentionally side-effect free with respect to Plant APIs.
|
||||
internal static void Arm()
|
||||
{
|
||||
if (state is BootstrapState.Prepared) state = BootstrapState.Armed;
|
||||
if (state is BootstrapState.Prepared)
|
||||
{
|
||||
// The command itself is the post-NETLOAD barrier. The next Idle
|
||||
// callback, not this command callback, is allowed to start work.
|
||||
observedIdle = true;
|
||||
state = BootstrapState.Armed;
|
||||
}
|
||||
}
|
||||
|
||||
private static void OnIdle(object? sender, EventArgs args)
|
||||
|
||||
Reference in New Issue
Block a user