/Engine/Source/Runtime/Core/Public/Modules/ModuleInterface.h
Override this to set whether your module would like cleanup on application shutdown
Whether the module supports shutdown on application exit
virtual bool SupportsAutomaticShutdown()