onExit

protected open fun onExit()(source)

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