From 76d871bc8ddc4bb39d413557e1ae31883afa1327 Mon Sep 17 00:00:00 2001 From: Carles Fernandez Date: Sat, 19 May 2018 19:07:00 +0200 Subject: [PATCH] Avoid throwing in the destructor --- .../signal_source/gnuradio_blocks/rtl_tcp_signal_source_c.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/algorithms/signal_source/gnuradio_blocks/rtl_tcp_signal_source_c.cc b/src/algorithms/signal_source/gnuradio_blocks/rtl_tcp_signal_source_c.cc index c956f4f4c..71c09a8c8 100644 --- a/src/algorithms/signal_source/gnuradio_blocks/rtl_tcp_signal_source_c.cc +++ b/src/algorithms/signal_source/gnuradio_blocks/rtl_tcp_signal_source_c.cc @@ -154,7 +154,7 @@ rtl_tcp_signal_source_c::rtl_tcp_signal_source_c(const std::string &address, rtl_tcp_signal_source_c::~rtl_tcp_signal_source_c() { - boost::mutex::scoped_lock lock(mutex_); + mutex_.unlock(); io_service_.stop(); not_empty_.notify_one(); not_full_.notify_one();