Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/FModuleManager
Description
Calls PreUnload then either unloads or abandons a module in memory, depending on whether the module supports unloading.
| Name | UnloadOrAbandonModuleWithCallback |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Modules/ModuleManager.h |
| Include Path | #include "Modules/ModuleManager.h" |
| Source | /Engine/Source/Runtime/Core/Private/Modules/ModuleManager.cpp |
void UnloadOrAbandonModuleWithCallback
(
const FName InModuleName,
FOutputDevice & Ar
)
Parameters
| Name | Remarks |
|---|---|
| InModuleName | The name of the module to unload. |
| Ar | The archive to receive error messages, if any. |