FModuleManager::UnloadOrAbandonModuleWithCallback

Calls PreUnload then either unloads or abandons a module in memory, depending on whether the module supports unloading.

Windows
MacOS
Linux

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

Syntax

void UnloadOrAbandonModuleWithCallback
(
    const FName InModuleName,
    FOutputDevice & Ar
)

Remarks

Calls PreUnload then either unloads or abandons a module in memory, depending on whether the module supports unloading.

Parameters

Parameter

Description

InModuleName

The name of the module to unload.

Ar

The archive to receive error messages, if any.

See Also

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss