]> sigrok.org Git - pulseview.git/commitdiff
DecodeSignal: Unpause reliably
authorSoeren Apel <redacted>
Sun, 2 Sep 2018 19:34:50 +0000 (21:34 +0200)
committerSoeren Apel <redacted>
Sun, 2 Sep 2018 19:35:06 +0000 (21:35 +0200)
pv/data/decodesignal.cpp

index 4705b104542cef6c9875d8fa7e1922b6b6cae0c8..405e06e145b50ed15743af7e47892125c297613d 100644 (file)
@@ -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;