discoverer: Make sure we call _stop() before being freed
authorArun Raghavan <arun.raghavan@collabora.co.uk>
Mon, 17 Jan 2011 18:38:32 +0000 (00:08 +0530)
committerTim-Philipp Müller <tim.muller@collabora.co.uk>
Mon, 17 Jan 2011 23:50:45 +0000 (23:50 +0000)
commite730ce71dc72df6d380d53c1a65aacb0c0c134b6
tree344256320519c5c8d253e51ea89ad9c68ed686ea
parent3a165c60bf2d7c047d3a5b311d54889abc8b2503
discoverer: Make sure we call _stop() before being freed

This ensures that everything is properly cleaned up before the
GstDiscoverer object is freed. Specifically, it makes sure that we've
removed the async timeout callback before freeing the object to avoid a
potential crash later on.

https://bugzilla.gnome.org/show_bug.cgi?id=639755
gst-libs/gst/pbutils/gstdiscoverer.c