From e94c3e1d87df07df658a535ec54a4977c3857c42 Mon Sep 17 00:00:00 2001 From: Julian P Samaroo Date: Wed, 24 Jul 2024 10:55:23 -0500 Subject: [PATCH] fixup! Sch: Switch from state.cache to thunk.cache_ref --- src/sch/fault-handler.jl | 1 + 1 file changed, 1 insertion(+) diff --git a/src/sch/fault-handler.jl b/src/sch/fault-handler.jl index 222b9f058..56ccc3ca1 100644 --- a/src/sch/fault-handler.jl +++ b/src/sch/fault-handler.jl @@ -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