Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/RuntimeGeneratedFunctions.jl
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ function drop_expr(
# When dropping the reference to the body from an RGF, we need to upgrade
# from a weak to a strong reference in the cache to prevent the body being
# GC'd.
lock(_cache_lock) do
@lock _cache_lock begin
cache = getfield(parentmodule(cache_tag), _cachename)
body = cache[id]
if body isa WeakRef
Expand Down
Loading