Skip to content

Commit 319ee70

Browse files
committed
remove new references to explicit_loaded_modules
1 parent ad1dc39 commit 319ee70

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

base/loading.jl

+1-4
Original file line numberDiff line numberDiff line change
@@ -2517,9 +2517,6 @@ loaded_modules_array() = @lock require_lock copy(loaded_modules_order)
25172517
# after unreference_module, a subsequent require call will try to load a new copy of it, if stale
25182518
# reload(m) = (unreference_module(m); require(m))
25192519
function unreference_module(key::PkgId)
2520-
if haskey(explicit_loaded_modules, key)
2521-
m = pop!(explicit_loaded_modules, key)
2522-
end
25232520
if haskey(loaded_modules, key)
25242521
m = pop!(loaded_modules, key)
25252522
# need to ensure all modules are GC rooted; will still be referenced
@@ -3125,7 +3122,7 @@ function compilecache(pkg::PkgId, path::String, internal_stderr::IO = stderr, in
31253122
# build up the list of modules that we want the precompile process to preserve
31263123
if keep_loaded_modules
31273124
concrete_deps = copy(_concrete_dependencies)
3128-
for (pkgreq, modreq) in loaded_modules # TODO: convert all relevant staleness heuristics to use explicit_loaded_modules instead
3125+
for (pkgreq, modreq) in loaded_modules
31293126
if !(pkgreq === Main || pkgreq === Core || pkgreq === Base)
31303127
push!(concrete_deps, pkgreq => module_build_id(modreq))
31313128
end

0 commit comments

Comments
 (0)