Skip to content

Commit d270587

Browse files
authored
Merge pull request #363 from JuliaParallel/jps/signature-no-capture
signature: Don't capture input arguments
2 parents 142eae3 + 39200fa commit d270587

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/sch/util.jl

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,9 @@ end
252252
chunktype(x) = typeof(x)
253253
function signature(task::Thunk, state)
254254
sig = Any[chunktype(task.f)]
255-
append!(sig, collect_task_inputs(state, task))
255+
for input in collect_task_inputs(state, task)
256+
push!(sig, chunktype(input))
257+
end
256258
sig
257259
end
258260

0 commit comments

Comments
 (0)