summaryrefslogtreecommitdiff
path: root/examples/workflows
diff options
context:
space:
mode:
authorBrian Potchik <brian@vector35.com>2021-08-16 08:41:25 -0400
committerBrian Potchik <brian@vector35.com>2021-08-16 08:41:25 -0400
commit5b217afee628f71d84e8f44288b1198b90136762 (patch)
treebe0229546411252625bd6e83c12411f0bb54e1c1 /examples/workflows
parent079acf8db12058e9ac75c59ca59c8b36df61703b (diff)
Remove disconnected node from tail call example.
Diffstat (limited to 'examples/workflows')
-rw-r--r--examples/workflows/tailcall/tailcall.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/workflows/tailcall/tailcall.cpp b/examples/workflows/tailcall/tailcall.cpp
index 9305a51d..3d8613c4 100644
--- a/examples/workflows/tailcall/tailcall.cpp
+++ b/examples/workflows/tailcall/tailcall.cpp
@@ -117,6 +117,7 @@ extern "C"
Ref<Workflow> customTailCallWorkflow = Workflow::Instance()->Clone("CustomTailCallWorkflow");
customTailCallWorkflow->RegisterActivity(new Activity("extension.translateTailCalls", &TailCallTranslation));
customTailCallWorkflow->Replace("core.function.translateTailCalls", "extension.translateTailCalls");
+ customTailCallWorkflow->Remove("core.function.translateTailCalls");
Workflow::RegisterWorkflow(customTailCallWorkflow,
R"#({
"title" : "Tail Call Translation (Example)",