]> sigrok.org Git - pulseview.git/commitdiff
Call sr_session_destroy after loading the SigSession, rather than sr_session_stop
authorJoel Holdsworth <redacted>
Sat, 20 Apr 2013 08:38:19 +0000 (09:38 +0100)
committerJoel Holdsworth <redacted>
Sat, 20 Apr 2013 08:38:19 +0000 (09:38 +0100)
pv/sigsession.cpp

index 9c03b882ffc9c02cc174be25d3c2f22218a9003c..782f9c791b472ab24bb848958e847ded490d63d5 100644 (file)
@@ -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);
 }