Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/Modules > API/Runtime/Core/Modules/FModuleManager
References
Module | Core |
Header | /Engine/Source/Runtime/Core/Public/Modules/ModuleManager.h |
Include | #include "Modules/ModuleManager.h" |
Source | /Engine/Source/Runtime/Core/Private/Modules/ModuleManager.cpp |
void UnloadModulesAtShutdown&40;&41;
Remarks
Unloads modules during the shutdown process. Modules are unloaded in reverse order to when their StartupModule() FINISHES. The practical implication of this is that if module A depends on another module B, and A loads B during A's StartupModule, that B will actually get Unloaded after A during shutdown. This allows A's ShutdownModule() call to still reference module B. You can manually unload a module yourself which will change this ordering, but be careful as you may be unloading another module's dependency!
This method is Usually called at various points while exiting an application.