close

open override fun close()

Invokes AutoCloseable.close on all AutoCloseables in reverse order and removes them from this container.