From fe8984dfa577d97ee93360c8dc065f02001ea4a6 Mon Sep 17 00:00:00 2001 From: Dimitri Stolnikov Date: Wed, 8 Aug 2012 20:31:38 +0200 Subject: [PATCH] osmosdr: wait for worker thread to complete without a timeout --- lib/osmosdr/osmosdr_src_c.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/osmosdr/osmosdr_src_c.cc b/lib/osmosdr/osmosdr_src_c.cc index e15e5c1..1067e82 100644 --- a/lib/osmosdr/osmosdr_src_c.cc +++ b/lib/osmosdr/osmosdr_src_c.cc @@ -153,7 +153,7 @@ osmosdr_src_c::~osmosdr_src_c () if (_dev) { _running = false; osmosdr_cancel_async( _dev ); - _thread.timed_join( boost::posix_time::milliseconds(200) ); + _thread.join(); osmosdr_close( _dev ); _dev = NULL; }