MayaFlux 1.0.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches

◆ cleanup_completed_branches()

void MayaFlux::Kriya::BufferPipeline::cleanup_completed_branches ( )
private

Definition at line 60 of file BufferPipelineBranches.cpp.

61{
62 for (auto& branch : m_branches) {
63 if (branch.pipeline) {
64 branch.pipeline->m_active_self.reset();
65 }
66 }
67
68 std::erase_if(m_branch_tasks, [](const auto& task) {
69 return !task || !task->is_active();
70 });
71}
std::vector< std::shared_ptr< Vruta::Routine > > m_branch_tasks
std::vector< BranchInfo > m_branches

References m_branch_tasks, and m_branches.

Referenced by finish_cycle().

+ Here is the caller graph for this function: