closeQuietly

open fun closeQuietly(c: Closeable)

Closes the given Closeable and swallows any IOException that may occur.

Since

1.7

Parameters

c

Closeable to close, can be null