From: Joel Holdsworth Date: Sat, 20 Apr 2013 08:38:19 +0000 (+0100) Subject: Call sr_session_destroy after loading the SigSession, rather than sr_session_stop X-Git-Tag: pulseview-0.1.0~35 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=d5bf2c6ce9dfcffdc94c6b71c8f015e88b8bc2b8;p=pulseview.git Call sr_session_destroy after loading the SigSession, rather than sr_session_stop --- diff --git a/pv/sigsession.cpp b/pv/sigsession.cpp index 9c03b882..782f9c79 100644 --- a/pv/sigsession.cpp +++ b/pv/sigsession.cpp @@ -148,7 +148,7 @@ void SigSession::load_thread_proc(const string name, set_capture_state(Running); sr_session_run(); - sr_session_stop(); + sr_session_destroy(); set_capture_state(Stopped); }