From: Bert Vermeulen Date: Fri, 3 Aug 2012 08:17:31 +0000 (+0200) Subject: chronovu-la8: remove session source when done X-Git-Tag: dsupstream~734 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=7021f98596fdd0ca744e9ffa2ab73979f65125a3;p=libsigrok.git chronovu-la8: remove session source when done --- diff --git a/hardware/chronovu-la8/api.c b/hardware/chronovu-la8/api.c index 7d64176c..ee535fc2 100644 --- a/hardware/chronovu-la8/api.c +++ b/hardware/chronovu-la8/api.c @@ -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;