Delete AS::Dependencies.loading

This commit is contained in:
Xavier Noria 2021-08-18 23:11:32 +02:00
parent 4ba449aafb
commit 7788697797
1 changed files with 0 additions and 6 deletions

View File

@ -54,9 +54,6 @@ module ActiveSupport # :nodoc:
Dependencies._eager_load_paths.member?(path) Dependencies._eager_load_paths.member?(path)
end end
# Stack of files being loaded.
mattr_accessor :loading, default: []
# Should we load files or require them? # Should we load files or require them?
mattr_accessor :mechanism, default: ENV["NO_RELOAD"] ? :require : :load mattr_accessor :mechanism, default: ENV["NO_RELOAD"] ? :require : :load
@ -180,9 +177,6 @@ module ActiveSupport # :nodoc:
end end
def clear def clear
Dependencies.unload_interlock do
loading.clear
end
end end
# Is the provided constant path defined? # Is the provided constant path defined?