Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/IModuleInterface
Description
Called before the module is unloaded. Occurs in all unloading situations, including hot reloading, unloading or reloading via console commands, explicit requests through FModuleManager public API, and engine shutdown. During engine shutdown, this is called in reverse order that modules finish StartupModule. This means that, as long as a module references dependent modules in it's StartupModule, it can safely reference those dependencies in ShutdownModule as well.
| Name | ShutdownModule |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Modules/ModuleInterface.h |
| Include Path | #include "Modules/ModuleInterface.h" |
virtual void ShutdownModule()