onClose

open fun onClose()

Called when close is called but before the value is disposed of.