summaryrefslogtreecommitdiff
path: root/lib/block_handlers.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/block_handlers.cpp')
-rw-r--r--lib/block_handlers.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/block_handlers.cpp b/lib/block_handlers.cpp
index a3a42b6..384deaa 100644
--- a/lib/block_handlers.cpp
+++ b/lib/block_handlers.cpp
@@ -85,6 +85,10 @@ void ElementImpl::handle_block_msg(
ASSERT(msg.type() == typeid(TopBlockMessage));
+ //FIXME leave the marked done blocks done...
+ //this helps QA tests to pass that re-use top block without diconnecting the old design
+ if (this->block_state == BLOCK_STATE_DONE) return;
+
const size_t num_inputs = task_iface.get_num_inputs();
const size_t num_outputs = task_iface.get_num_outputs();