close

fun close(closeable: AutoCloseable)

Attempt to close the specified resource. Suppress any exception thrown by the underlying close operation.

Parameters

closeable

A closeable resource. Must not be null; see closeIfNotNull to handle that case.