release

open fun release()

Called when the provided document is being closed. Implementations are expected to release all resources (like closing of all streams and freeing of allocations).