summaryrefslogtreecommitdiff
path: root/lib/block_handlers.cpp
diff options
context:
space:
mode:
authorJosh Blum2012-09-23 02:22:04 -0400
committerJosh Blum2012-09-23 02:22:04 -0400
commitf39fe9d7f1bdee682ac75dec3c3774d1f096f55f (patch)
tree9db7d9a6313cb5c3b54f8c373df5cdc9f6d40357 /lib/block_handlers.cpp
parenta76963ab6fdde4bf793ecb38f95fa6255647288a (diff)
downloadsandhi-f39fe9d7f1bdee682ac75dec3c3774d1f096f55f.tar.gz
sandhi-f39fe9d7f1bdee682ac75dec3c3774d1f096f55f.tar.bz2
sandhi-f39fe9d7f1bdee682ac75dec3c3774d1f096f55f.zip
disconnect_all will commit the topology (more qa happy)
Diffstat (limited to 'lib/block_handlers.cpp')
-rw-r--r--lib/block_handlers.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/block_handlers.cpp b/lib/block_handlers.cpp
index 384deaa..0fd7022 100644
--- a/lib/block_handlers.cpp
+++ b/lib/block_handlers.cpp
@@ -191,10 +191,9 @@ void ElementImpl::topology_update(const tsbe::TaskInterface &task_iface)
this->input_tags_changed.resize(num_inputs);
this->input_tags.resize(num_inputs);
- //TODO: think more about this:
+ //a block looses all connections, allow it to free
if (num_inputs == 0 and num_outputs == 0)
{
- HERE();
this->mark_done(task_iface);
}