class ActiveSupport::Dependencies::Interlock

def unloading(&block)

def unloading(&block)
  @lock.exclusive(purpose: :unload, compatible: [:load, :unload], after_compatible: [:load, :unload], &block)
end