|
|
@ -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)
|
|
|
|