/Engine/Source/Runtime/Core/Public/Misc/CoreDelegates.h
Called before the engine exits. Separate from OnPreExit as OnEnginePreExit occurs before shutting down any core modules.
static FSimpleMulticastDelegate OnEnginePreExit;