X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=pv%2Fstoresession.cpp;h=3d0f12fe7cb66b79027125bbc4a3363fdbeadc91;hb=32d83ce1a26322a433785746ea7465f9bdf830b6;hp=ebb4b0ed374349e657fff6e14373c244afa23310;hpb=0fbda3c2dda9357776afa15e99c037eb0cc97214;p=pulseview.git diff --git a/pv/storesession.cpp b/pv/storesession.cpp index ebb4b0ed..3d0f12fe 100644 --- a/pv/storesession.cpp +++ b/pv/storesession.cpp @@ -135,7 +135,8 @@ bool StoreSession::start() void StoreSession::wait() { - _thread.join(); + if (_thread.joinable()) + _thread.join(); } void StoreSession::cancel()