graph-rework-2
noah metz 2023-07-24 20:24:17 -06:00
parent 8c12eae3a7
commit bd9e0a6d6f
1 changed files with 1 additions and 1 deletions

@ -542,7 +542,7 @@ func ThreadStartChild(ctx *Context, node ThreadNode, signal GraphSignal) (string
if exists == false { if exists == false {
return fmt.Errorf("%s is not a child of %s", sig.ID, thread.ID()) return fmt.Errorf("%s is not a child of %s", sig.ID, thread.ID())
} }
return UpdateStates(context, thread, NewLockInfo(info.Child, []string{"start"}), func(context *StateContext) error { return UpdateStates(context, node, NewLockInfo(info.Child, []string{"start"}), func(context *StateContext) error {
parent_info, exists := info.Infos["parent"].(*ParentThreadInfo) parent_info, exists := info.Infos["parent"].(*ParentThreadInfo)
if exists == false { if exists == false {