Skip to content

Commit b6f7c0d

Browse files
committed
reschedule_inputs: Don't hash non-Thunk inputs
1 parent 6727365 commit b6f7c0d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/sch/util.jl

+1-1
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ function reschedule_syncdeps!(state, thunk, seen=Set{Thunk}())
144144
w = get!(()->Set{Thunk}(), state.waiting, thunk)
145145
for input in thunk.syncdeps
146146
input = unwrap_weak_checked(input)
147-
input in seen && continue
147+
istask(input) && input in seen && continue
148148

149149
# Unseen
150150
push!(get!(()->Set{Thunk}(), state.waiting_data, input), thunk)

0 commit comments

Comments
 (0)