aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp/usrp1/usrp1_impl.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'host/lib/usrp/usrp1/usrp1_impl.cpp')
-rw-r--r--host/lib/usrp/usrp1/usrp1_impl.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/host/lib/usrp/usrp1/usrp1_impl.cpp b/host/lib/usrp/usrp1/usrp1_impl.cpp
index 8f6a582fa..b2da16837 100644
--- a/host/lib/usrp/usrp1/usrp1_impl.cpp
+++ b/host/lib/usrp/usrp1/usrp1_impl.cpp
@@ -390,11 +390,13 @@ usrp1_impl::usrp1_impl(const device_addr_t &device_addr){
}
usrp1_impl::~usrp1_impl(void){
- _io_impl.reset(); //stops vandal before other stuff gets deconstructed
UHD_SAFE_CALL(
this->enable_rx(false);
this->enable_tx(false);
)
+ _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
}
/*!