discoverer: async_timeout_cb: don't clean up timeout_source

discoverer_collect() already does this. So, the second
unref triggers an assert.
This commit is contained in:
Aaron Boxer 2019-04-01 11:10:21 -04:00 committed by Aaron Boxer
parent 6146d8c622
commit 6ade19cc15

View file

@ -1992,8 +1992,6 @@ async_timeout_cb (GstDiscoverer * dc)
dc->priv->processing = FALSE;
discoverer_collect (dc);
discoverer_cleanup (dc);
g_source_unref (dc->priv->timeout_source);
dc->priv->timeout_source = NULL;
}
return FALSE;
}