If a statemachine is still registered as listener to GlobalInteraction and this registration is the last smartpointer to that statemachine and then GlobalInteration is destroyed, the destructor will first delete it's FocusMager member and then call the destructor of the statemachine which will call back GlobalInteraction->RemoveFocusElement() which tries to access the already deleted FocusManager member --> Crash.
Solution: explicitely delete all members in the correct order.
see T3091 for a way to reproduce the crash