From: Wim Taymans Date: Mon, 20 Jul 2009 16:03:21 +0000 (+0200) Subject: tests: make sure the tasks are joined X-Git-Tag: RELEASE-0.10.24~13 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ffca244c262743ddf99fd06f66df979ba556f499;p=platform%2Fupstream%2Fgstreamer.git tests: make sure the tasks are joined Call _clean_all() on the task to make sure everything is joined and stopped. See #589127 --- diff --git a/tests/check/gst/gsttask.c b/tests/check/gst/gsttask.c index da307cc..e7b169a 100644 --- a/tests/check/gst/gsttask.c +++ b/tests/check/gst/gsttask.c @@ -68,6 +68,8 @@ GST_START_TEST (test_join) ret = gst_task_join (t); fail_unless (ret == TRUE); + gst_task_cleanup_all (); + gst_object_unref (t); } @@ -112,6 +114,8 @@ GST_START_TEST (test_lock_start) ret = gst_task_join (t); fail_unless (ret == TRUE); + gst_task_cleanup_all (); + gst_object_unref (t); }