summaryrefslogtreecommitdiff
path: root/lib/top_block.cpp
diff options
context:
space:
mode:
authorJosh Blum2012-10-13 13:22:18 -0700
committerJosh Blum2012-10-13 13:22:18 -0700
commit8354c9c4c92687904cedae0b0feb702c2d7e8408 (patch)
tree4c063baf0dfa3a06a6f090b2346b593babaa2efb /lib/top_block.cpp
parentf9c854d3cdd0a9337b41842d15a13d6df4ece408 (diff)
downloadsandhi-8354c9c4c92687904cedae0b0feb702c2d7e8408.tar.gz
sandhi-8354c9c4c92687904cedae0b0feb702c2d7e8408.tar.bz2
sandhi-8354c9c4c92687904cedae0b0feb702c2d7e8408.zip
lots of mini tweaks for QA passing, WIP...
Diffstat (limited to 'lib/top_block.cpp')
-rw-r--r--lib/top_block.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/top_block.cpp b/lib/top_block.cpp
index bcce1bf..d71a4a7 100644
--- a/lib/top_block.cpp
+++ b/lib/top_block.cpp
@@ -47,6 +47,8 @@ TopBlock::TopBlock(const std::string &name):
void ElementImpl::top_block_cleanup(void)
{
this->executor->post_all(TopInertMessage());
+ this->topology->clear_all();;
+ this->executor->commit();
if (ARMAGEDDON) std::cerr
<< "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\n"
<< "xx Top Block Destroyed: " << name << "\n"