Skip to content

Commit

Permalink
fix Base.unreference_module call (#4057) (#4078)
Browse files Browse the repository at this point in the history
  • Loading branch information
IanButterworth authored Nov 7, 2024
1 parent 2c62541 commit 64bf95a
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 64bf95a

Please sign in to comment.