MCPcopy Create free account
hub / github.com/MothCocoon/FlowGraph / Cleanup

Method Cleanup

Source/Flow/Private/Nodes/Actor/FlowNode_ExecuteComponent.cpp:146–161  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

144}
145
146void UFlowNode_ExecuteComponent::Cleanup()
147{
148 if (UActorComponent* ResolvedComp = TryResolveComponent())
149 {
150 if (IFlowCoreExecutableInterface* ComponentAsCoreExecutable = Cast<IFlowCoreExecutableInterface>(ResolvedComp))
151 {
152 ComponentAsCoreExecutable->Cleanup();
153 }
154 else if (ResolvedComp->Implements<UFlowCoreExecutableInterface>())
155 {
156 IFlowCoreExecutableInterface::Execute_K2_Cleanup(ResolvedComp);
157 }
158 }
159
160 Super::Cleanup();
161}
162
163void UFlowNode_ExecuteComponent::ForceFinishNode()
164{

Callers

nothing calls this directly

Calls 1

CleanupFunction · 0.85

Tested by

no test coverage detected