]> sigrok.org Git - libsigrok.git/commitdiff
chronovu-la8: remove session source when done
authorBert Vermeulen <redacted>
Fri, 3 Aug 2012 08:17:31 +0000 (10:17 +0200)
committerBert Vermeulen <redacted>
Fri, 3 Aug 2012 09:29:01 +0000 (11:29 +0200)
hardware/chronovu-la8/api.c

index 7d64176c72f730fb73e18c1d35708ccee9c7a9f3..ee535fc25f1d2ae113cc633a9fcb9f12375e21b4 100644 (file)
@@ -506,6 +506,8 @@ static int hw_dev_acquisition_stop(const struct sr_dev_inst *sdi,
 
        sr_dbg("la8: Stopping acquisition.");
 
+       sr_source_remove(-1);
+
        if (!(devc = sdi->priv)) {
                sr_err("la8: %s: sdi->priv was NULL", __func__);
                return SR_ERR_BUG;