onUnload

open override fun onUnload()(source)

Called when the entity is unloaded, not including when it is deleted.