Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- diff --git a/host/lib/usrp/usrp1/usrp1_impl.cpp b/host/lib/usrp/usrp1/usrp1_impl.cpp
- index 607badd..f440d6e 100644
- --- a/host/lib/usrp/usrp1/usrp1_impl.cpp
- +++ b/host/lib/usrp/usrp1/usrp1_impl.cpp
- @@ -413,6 +413,12 @@ usrp1_impl::~usrp1_impl(void){
- this->enable_rx(false);
- this->enable_tx(false);
- )
- + //Since we need to decontruct the tree,
- + //and dboard manager has tree references:
- + //This reset cleans up the subtree references.
- + BOOST_FOREACH(const std::string &key, _dbc.keys()){
- + _dbc[key].dboard_manager.reset();
- + }
- _tree.reset(); //resets counts on sptrs held in tree
- _soft_time_ctrl.reset(); //stops cmd task before proceeding
- _io_impl.reset(); //stops vandal before other stuff gets deconstructed
Advertisement
Add Comment
Please, Sign In to add comment