close

open override fun close()(source)

Flushes pending records and closes the writer. Does nothing if already closed.