aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/device3.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'host/lib/device3.cpp')
-rw-r--r--host/lib/device3.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/host/lib/device3.cpp b/host/lib/device3.cpp
index c3bfb83d2..b2f27e744 100644
--- a/host/lib/device3.cpp
+++ b/host/lib/device3.cpp
@@ -68,6 +68,7 @@ std::vector<rfnoc::block_id_t> device3::find_blocks(const std::string &block_id_
void device3::clear()
{
+ boost::lock_guard<boost::mutex> lock(_block_ctrl_mutex);
for(const block_ctrl_base::sptr &block: _rfnoc_block_ctrl) {
block->clear();
}