summaryrefslogtreecommitdiff
path: root/lib/topology_handler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/topology_handler.cpp')
-rw-r--r--lib/topology_handler.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/topology_handler.cpp b/lib/topology_handler.cpp
index aec8f68..38ea138 100644
--- a/lib/topology_handler.cpp
+++ b/lib/topology_handler.cpp
@@ -47,14 +47,15 @@ void BlockActor::handle_topology(
this->output_items.resize(num_outputs);
this->input_queues.resize(num_inputs);
this->output_queues.resize(num_outputs);
- this->inputs_available.resize(num_inputs);
this->produce_outputs.resize(num_outputs, false);
+ this->inputs_available.resize(num_inputs);
if (num_inputs == 0) this->inputs_available.resize(1, true); //so its always "available"
//copy the name into the queues for debug purposes
this->input_queues.name = this->name;
this->output_queues.name = this->name;
+ //resize the token trackers
this->input_tokens.resize(num_inputs);
this->output_tokens.resize(num_outputs);
this->inputs_done.resize(num_inputs);