From 503c4afbb43da85723d1a40bf985b88f7a4bc3c7 Mon Sep 17 00:00:00 2001 From: Bert Vermeulen Date: Fri, 3 Aug 2012 10:12:54 +0200 Subject: [PATCH] asix-sigma: remove session source when done --- hardware/asix-sigma/asix-sigma.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/hardware/asix-sigma/asix-sigma.c b/hardware/asix-sigma/asix-sigma.c index 7c73a723..e6515dd2 100644 --- a/hardware/asix-sigma/asix-sigma.c +++ b/hardware/asix-sigma/asix-sigma.c @@ -1417,6 +1417,8 @@ static int hw_dev_acquisition_stop(const struct sr_dev_inst *sdi, /* Avoid compiler warnings. */ (void)cb_data; + sr_source_remove(0); + if (!(devc = sdi->priv)) { sr_err("sigma: %s: sdi->priv was NULL", __func__); return SR_ERR_BUG;