Skip to content
Draft
Show file tree
Hide file tree
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
6 changes: 5 additions & 1 deletion base/gcutils.jl
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,11 @@ end
"""
function finalizer(@nospecialize(f), @nospecialize(o))
_check_mutable(o)
Core.finalizer(f, o)
let fin = Core.finalizer # only apply the effects to the call of `fin`
@_terminates_globally_meta
@_noub_meta
fin(f, o)
end
return o
end

Expand Down
Loading