release

fun release(reference: G)

Release the reference previously obtained via acquire.

NOTE: it's safe to call this after close.

Throws

IOException

if the release operation on the given resource throws an IOException