diff options
Diffstat (limited to 'lib/topology_handler.cpp')
-rw-r--r-- | lib/topology_handler.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/topology_handler.cpp b/lib/topology_handler.cpp index 1696f27..ac4d859 100644 --- a/lib/topology_handler.cpp +++ b/lib/topology_handler.cpp @@ -37,8 +37,10 @@ void BlockActor::handle_topology( //resize the bytes consumed/produced resize_fill_grow(this->stats.items_consumed, num_inputs, 0); resize_fill_grow(this->stats.tags_consumed, num_inputs, 0); + resize_fill_grow(this->stats.msgs_consumed, num_inputs, 0); resize_fill_grow(this->stats.items_produced, num_outputs, 0); resize_fill_grow(this->stats.tags_produced, num_outputs, 0); + resize_fill_grow(this->stats.msgs_produced, num_outputs, 0); //resize all work buffers to match current connections this->input_items.resize(num_inputs); @@ -62,6 +64,7 @@ void BlockActor::handle_topology( //resize tags vector to match sizes this->input_tags_changed.resize(num_inputs); this->input_tags.resize(num_inputs); + this->input_msgs.resize(num_inputs); //a block looses all connections, allow it to free if (num_inputs == 0 and num_outputs == 0) |