MCPcopy Create free account
hub / github.com/crazytuzi/UnrealCSharp / ShutdownModule

Method ShutdownModule

Source/UnrealCSharp/Private/UnrealCSharp.cpp:19–34  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

17}
18
19void FUnrealCSharpModule::ShutdownModule()
20{
21 // This function may be called during shutdown to clean up your module. For modules that support dynamic reloading,
22 // we call this function before unloading the module.
23 if (OnUnrealCSharpCoreModuleInActiveDelegateHandle.IsValid())
24 {
25 FUnrealCSharpCoreModuleDelegates::OnUnrealCSharpCoreModuleInActive.Remove(
26 OnUnrealCSharpCoreModuleInActiveDelegateHandle);
27 }
28
29 if (OnUnrealCSharpCoreModuleActiveDelegateHandle.IsValid())
30 {
31 FUnrealCSharpCoreModuleDelegates::OnUnrealCSharpCoreModuleActive.Remove(
32 OnUnrealCSharpCoreModuleActiveDelegateHandle);
33 }
34}
35
36void FUnrealCSharpModule::OnUnrealCSharpCoreModuleActive()
37{

Callers

nothing calls this directly

Calls 2

IsValidMethod · 0.80
RemoveMethod · 0.45

Tested by

no test coverage detected