diff options
author | Josh Blum | 2012-09-23 02:22:04 -0400 |
---|---|---|
committer | Josh Blum | 2012-09-23 02:22:04 -0400 |
commit | f39fe9d7f1bdee682ac75dec3c3774d1f096f55f (patch) | |
tree | 9db7d9a6313cb5c3b54f8c373df5cdc9f6d40357 /lib/hier_block.cpp | |
parent | a76963ab6fdde4bf793ecb38f95fa6255647288a (diff) | |
download | sandhi-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.cpp | 4 |
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(); + } } |