/Engine/Plugins/Runtime/StateTree/Source/StateTreeModule/Public/StateTreeExecutionContext.h
Handles logic for exiting State. ExitState is called on current active Evaluators and Tasks that are part of the re-planned tree. Re-planned tree is from the transition target up to the leaf state. States that are parent to the transition target state and still active after the transition will remain intact.
void ExitState ( const [FStateTreeTransitionResult](API\Plugins\StateTreeModule\FStateTreeTransitionResult) & Transition )