From 6c1887ed76dc8d3511c1388398fb6838c0169b9f Mon Sep 17 00:00:00 2001 From: Noah Metz Date: Mon, 26 Jun 2023 23:10:18 -0600 Subject: [PATCH] Change lockable recursiveness --- lockable.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lockable.go b/lockable.go index 0d46abe..15b14d8 100644 --- a/lockable.go +++ b/lockable.go @@ -381,7 +381,7 @@ func LockLockable(ctx * GraphContext, lockable Lockable, node GraphNode, node_st var lock_err error = nil locked_requirements := []Lockable{} for _, requirement := range(lockable_state.Requirements()) { - err = LockLockable(ctx, requirement, node, node_state) + err = LockLockable(ctx, requirement, lockable, lockable_state) if err != nil { lock_err = err break