Game flow when game ends


There is a great figure that shows sequence of events when game starts: Game Flow Overview | Unreal Engine Documentation

I’m wondering what is the sequence of events when game end? Specifically I’m looking for opposite of AGameMode:StartPlay that I can everride to do some clean up when game ends (either via Editor end button or standalone mode).

Here’s another chart for actor spawn/destroy and some of EndPlay event sequence: Actor Lifecycle | Unreal Engine Documentation