Javadoc
Detach this module from its registry. This does not free any of the
loaded resources. Only proper release of all references to the public
class loader will ensure module being garbage collected.
Detached modules are orphan and will be garbage collected if resources
are properly disposed.