summaryrefslogtreecommitdiff
path: root/lib/hier_block.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/hier_block.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/hier_block.cpp')
-rw-r--r--lib/hier_block.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/hier_block.cpp b/lib/hier_block.cpp
index e4918ef..860ac25 100644
--- a/lib/hier_block.cpp
+++ b/lib/hier_block.cpp
@@ -85,4 +85,8 @@ void HierBlock::disconnect_all(void)
{
(*this)->topology.clear_all();
(*this)->children.clear();
+ if ((*this)->executor)
+ {
+ (*this)->executor.commit();
+ }
}