close

open override fun close()

Forces and closes the log, then releases the directory.

The final force happens whatever the durability setting: a clean shutdown is exactly the point at which Durability.BUFFERED should stop being a gamble. Idempotent.