Skip to content

Commit

Permalink
fixup! Sch: Switch from state.cache to thunk.cache_ref
Browse files Browse the repository at this point in the history
  • Loading branch information
jpsamaroo committed Jul 24, 2024
1 parent 6905e47 commit e94c3e1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/sch/fault-handler.jl
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ function handle_fault(ctx, state, deadproc)

# Evict cache entries that were stored on the worker
for t in values(state.thunk_dict)
t = unwrap_weak_checked(t)
has_result(state, t) || continue
v = load_result(state, t)
if v isa Chunk && v.handle isa DRef && v.handle.owner == deadproc.pid
Expand Down

0 comments on commit e94c3e1

Please sign in to comment.