module Roda::RodaPlugins::MultiRun::ClassMethods

def freeze

Freeze the multi_run apps so that there can be no thread safety issues at runtime.
and to speed up subsequent calls.
Convert app blocks into apps by calling them, in order to force autoloads
def freeze
  app_blocks = opts[:multi_run_app_blocks]
  apps = opts[:multi_run_apps]
  app_blocks.each do |prefix, block|
    apps[prefix] = block.call
  end
  app_blocks.clear.freeze
  apps.freeze
  self::RodaRequest.refresh_multi_run_regexp!
  super
end