fix soft-halt with thread freezes; fix disabling/tooltips of top-bar controls

This commit is contained in:
Ryan Fleury
2024-10-17 16:12:31 -07:00
parent 51dce36ede
commit 687323fc2e
2 changed files with 39 additions and 23 deletions
+8
View File
@@ -2381,6 +2381,14 @@ d_tick(Arena *arena, D_TargetArray *targets, D_BreakpointArray *breakpoints, D_P
msg->entity = e->handle;
}
}
if(d_ctrl_targets_running())
{
need_run = 1;
run_kind = d_state->ctrl_last_run_kind;
run_thread = ctrl_entity_from_handle(d_state->ctrl_entity_store, d_state->ctrl_last_run_thread_handle);
run_flags = d_state->ctrl_last_run_flags;
run_traps = d_state->ctrl_last_run_traps;
}
}break;
//- rjf: entity decoration