diff options
author | Josh Blum | 2012-10-05 01:22:56 -0700 |
---|---|---|
committer | Josh Blum | 2012-10-05 01:22:56 -0700 |
commit | 9b06c037fcb618199e99518ee120ef3b2f1e96a7 (patch) | |
tree | 1e096af554f692991c28c46605bf5651ba0832b6 /lib/element.cpp | |
parent | 075dfb6aae5c309b34789761aee3acd63f9d03fc (diff) | |
download | sandhi-9b06c037fcb618199e99518ee120ef3b2f1e96a7.tar.gz sandhi-9b06c037fcb618199e99518ee120ef3b2f1e96a7.tar.bz2 sandhi-9b06c037fcb618199e99518ee120ef3b2f1e96a7.zip |
created configurable thread pool
Diffstat (limited to 'lib/element.cpp')
-rw-r--r-- | lib/element.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/element.cpp b/lib/element.cpp index 9987bd4..39cbca3 100644 --- a/lib/element.cpp +++ b/lib/element.cpp @@ -46,6 +46,8 @@ ElementImpl::~ElementImpl(void) { if (this->executor) this->top_block_cleanup(); if (this->topology) this->hier_block_cleanup(); + this->block.reset(); + this->thread_pool.reset(); //must be deleted after actor } Element &Element::shared_to_element(void) |