Skip to content

Subgraph deallocating timing change#379

Open
LindyHopperGT wants to merge 2 commits into
MothCocoon:5.xfrom
LindyHopperGT:Flow_FinishFlowTimingChanges
Open

Subgraph deallocating timing change#379
LindyHopperGT wants to merge 2 commits into
MothCocoon:5.xfrom
LindyHopperGT:Flow_FinishFlowTimingChanges

Conversation

@LindyHopperGT

Copy link
Copy Markdown
Contributor

Subgraph nodes were the only flow node that was permanently disposing of instance data on Cleanup as opposed to in DeinitializeInstance.

Now subgraph nodes will cleanup their subgraph (including finishing it, etc.) but preserve the flow asset instance until the Subgraph flownode has its DeinitializeInstance called.

[Flow Graph] Consolidating Finish Flow concept and removing deinitialize instance as part of a flow asset finish.

A new method has been introduced (FinishAndDeinitialize) to disambiguate.
@CyaDaPaKnat

Copy link
Copy Markdown
Contributor

virtual void FinishFlow(const EFlowFinishPolicy InFinishPolicy, const bool bRemoveInstance = true);

This declaration was left in FlowAsset.h and it causes a compilation error on my end.

@LindyHopperGT

LindyHopperGT commented Jun 11, 2026

Copy link
Copy Markdown
Contributor Author

virtual void FinishFlow(const EFlowFinishPolicy InFinishPolicy, const bool bRemoveInstance = true);

This declaration was left in FlowAsset.h and it causes a compilation error on my end.

this would be a typo.

I split the omni PR into four focused PR's by hand without the ability to compile + test them locally (because our code relies on them, and I haven't made a silo flow for PR submission, which I really should).

You can view the code in the omni change #378 to see what the code should be.

If you could submit fixes to this PR, that would be very helpful.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants