Skip to content

Commit

Permalink
fix Base.unreference_module call
Browse files Browse the repository at this point in the history
  • Loading branch information
vtjnash committed Oct 25, 2024
1 parent 6ed1d2f commit aa61778
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 @@ -731,8 +731,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 aa61778

Please sign in to comment.