close

open override fun close()(source)

Close the URLClassLoader created over recipe JARs, freeing file descriptors and allowing the JAR files to be garbage-collected.

Safe to call after the recipe returned by load has finished executing. Idempotent: subsequent calls are a no-op. When load was called with an empty recipeJars list this method is always a no-op (no classloader was created).