Skip to content

Commit

Permalink
fix Base.unreference_module call (#4057)
Browse files Browse the repository at this point in the history
(cherry picked from commit 116ba91)
  • Loading branch information
vtjnash authored and IanButterworth committed Nov 7, 2024
1 parent 2c62541 commit 40d60d7
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions test/artifacts.jl
Original file line number Diff line number Diff line change
Expand Up @@ -733,8 +733,7 @@ end

# Force Julia to re-load ArtifactOverrideLoading from scratch
pkgid = Base.PkgId(aol_uuid, "ArtifactOverrideLoading")
delete!(Base.module_keys, Base.loaded_modules[pkgid])
delete!(Base.loaded_modules, pkgid)
Base.unreference_module(pkgid)
touch(joinpath(depot_container, "ArtifactOverrideLoading", "src", "ArtifactOverrideLoading.jl"))

# Verify that the hash-based overrides (and clears) worked
Expand Down

0 comments on commit 40d60d7

Please sign in to comment.