finishCurrentState

open override fun finishCurrentState()

The signal to finish was received from outside and it is needed to return the current state.