mirror of https://github.com/rails/rails
Delete AS::Dependencies.loaded
This commit is contained in:
parent
46576a4555
commit
4ba449aafb
|
@ -54,9 +54,6 @@ module ActiveSupport # :nodoc:
|
|||
Dependencies._eager_load_paths.member?(path)
|
||||
end
|
||||
|
||||
# All files currently loaded.
|
||||
mattr_accessor :loaded, default: Set.new
|
||||
|
||||
# Stack of files being loaded.
|
||||
mattr_accessor :loading, default: []
|
||||
|
||||
|
@ -184,7 +181,6 @@ module ActiveSupport # :nodoc:
|
|||
|
||||
def clear
|
||||
Dependencies.unload_interlock do
|
||||
loaded.clear
|
||||
loading.clear
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue