onExit

protected open override fun onExit()(source)

can be overwritten by subclasses to perform work when the state is exited