pipeline: Call gst_task_cleanup_all() before checking reference counts after shutdown
authorSebastian Dröge <sebastian@centricular.com>
Wed, 2 Jan 2019 21:35:11 +0000 (23:35 +0200)
committerSebastian Dröge <slomo@coaxion.net>
Thu, 3 Jan 2019 14:05:31 +0000 (14:05 +0000)
commit74b9e72ec6b0963661c5c370e634f6fc9444057f
tree935d860cdc226a94bcec8ff5ba3b811e0ac08837
parent8b58cb03b29e5891b408ceee2ff664e822e7987e
pipeline: Call gst_task_cleanup_all() before checking reference counts after shutdown

We have to ensure that all background threads from thread pools are shut
down, or otherwise they might not have had a chance yet to drop their
last reference to the pipeline and then the assertion for a reference
count of 1 on the pipeline fails.
tests/check/gst/gstpipeline.c