graph-rework-2
noah metz 2023-07-02 12:54:29 -06:00
parent 8a5de1b0de
commit a05d847863
1 changed files with 1 additions and 0 deletions

@ -418,6 +418,7 @@ var gql_actions ThreadActions = ThreadActions{
UpdateStates(ctx, []GraphNode{thread}, func(nodes NodeMap)(error) { UpdateStates(ctx, []GraphNode{thread}, func(nodes NodeMap)(error) {
server_state := thread.State().(*GQLThreadState) server_state := thread.State().(*GQLThreadState)
for _, child := range(server_state.Children()) { for _, child := range(server_state.Children()) {
fmt.Printf("\n%+v\n\n", server_state.child_info[child.ID()])
should_run := (server_state.child_info[child.ID()]).(*GQLThreadInfo) should_run := (server_state.child_info[child.ID()]).(*GQLThreadInfo)
if should_run.Started == true { if should_run.Started == true {
ChildGo(ctx, server_state, thread, child.ID(), should_run.RestoreAction) ChildGo(ctx, server_state, thread, child.ID(), should_run.RestoreAction)