From: Soeren Apel Date: Sun, 2 Sep 2018 19:34:50 +0000 (+0200) Subject: DecodeSignal: Unpause reliably X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=dda88657a1548ea510f2b4945ec86cdcc464a803;p=pulseview.git DecodeSignal: Unpause reliably --- diff --git a/pv/data/decodesignal.cpp b/pv/data/decodesignal.cpp index 4705b104..405e06e1 100644 --- a/pv/data/decodesignal.cpp +++ b/pv/data/decodesignal.cpp @@ -151,8 +151,7 @@ void DecodeSignal::reset_decode(bool shutting_down) logic_mux_thread_.join(); } - decode_pause_mutex_.unlock(); - decode_paused_ = false; + resume_decode(); // Make sure the decode thread isn't blocked by pausing class_rows_.clear(); current_segment_id_ = 0;